archimag/puri-unicode — pull request #2 by Ferada (2013-06-14 21:39:55+00:00)
Title: Include IDNA to support international domain names.

This adds `IDNA` as a dependency. With it the following `DRAKMA` call works flawlessly:

(drakma:http-request "http://中央大学.tw/")
;; => [...] #

A new slot `PARSED-HOST` is used to store the parsed unicode representation, analogous to the `PARSED-PATH`. Tests included.

Also I don't know enough about URNs, so if it's needed there as well it could probably be done in a few more lines.

To debate: maybe a new (generic) function or parameter to an existing printer function should be added to produce a human-readable version of percent-encoded data and also encoded hostnames like this, however I didn't want to add this to the pretty printing behaviour just yet.