Ulrich Drepper (udrepper) wrote,
Ulrich Drepper
udrepper

IDN Support

glibc has IDN support for getaddrinfo and getnameinfo for quite some time. It has to be explicitly enabled in the calls, though. Now that I can actually test this I’ve enabled IDN support in the getent program which comes with glibc. This screenshot shows getent in action. Apparently the site doesn’t use an IDN CNAME yet.



The changes are minimal and pushed into the git archive. IDN is enabled by default, non-IDN names still continue to work. In case there is some sort of problem the --no-idn option can be used to disable IDN support.

It is quite easy for other programs to enable IDN as well. Whether it all should just work automatically is another question. There is the problem of look-alike characters in the Unicode range which might undermine the certificate system.
Subscribe

  • Secure File Descriptor Handling

    During the 2.6.27 merge window a number of my patches were merge and now we are at the point where we can securely create file descriptors without…

  • Closing

    I will not use this blog anymore. Instead I am hosting one on my own server with a much simpler (self-written) platform. Use the RSS file here.

  • (no subject)

    The original plan was to have some program sI wrote to be added to the procps or util-linux package but the maintainers haven't been responsive.…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment

Anonymous

May 7 2010, 09:42:38 UTC 11 years ago

Yeah, the look-alike problem bothers me, too... is google.com the same as ɡooɡle.com? (Hint - in the second version, the g's are the symbol u+0261, a Latin Small Letter Script G)