Andrew Gierth <andrew(_at_)erlenstar(_dot_)demon(_dot_)co(_dot_)uk> writes:
"Russ" == Russ Allbery <rra(_at_)stanford(_dot_)edu> writes:
Russ> No, I was more thinking that the server could just use GNU
Russ> Libidn, which was recently released under the LGPL. :)
jeez. Just the .tar.gz for that library is comparable in size to the
entire unpacked source code of my server. (And even discounting the
docs, data files, etc., it's something like 50% of the number of lines
of code.)
Yeah, but the number of places that you have to use it is pretty small, so
you can just link it shared into things like newsgroup creation tools.
It's a larger problem for readers, though.
I wonder how much of that complexity is the Unicode canonicalization.
That will have to be done anyway if we want to use UTF-8 anywhere in any
form.
(Oh, and Libidn also includes code to do other types of canonicalization
than IDNA, such as Kerberos canonicalization, so not all that code is
used.)
--
Russ Allbery (rra(_at_)stanford(_dot_)edu)
<http://www.eyrie.org/~eagle/>