Andreas Fuchs' Journal

I hack on things for people.

IDNA Now Supports Punycode Decoding

My IDNA library now supports decoding IDNA strings via the to-unicode function:

    (to-unicode "")
    ;; =>  "mü"

That’s in addition to the regular encoding for unicode domain names:

    (to-ascii "mü")
    ;; => ""

Sadly, I haven’t managed to get the logic for case-sensitive punycode encoding to work yet. But fortunately, IDNA domain name encoding doesn’t require that! Anyone looking for some low-hanging fruit-shaped lisp projects is welcome to add that! (-: