This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Internationalized domain names teaser


Simon Josefsson wrote:
Is anyone on the GNU Libc list aware of any API standardization in
this area?  Any thought or input on this is appreciated.
I would suggest that hostnames should be considered to be encoded with the encoding of nl_langinfo(CODESET). All routines taking hostnames should then apply IDNA to their parameters; those taking flags (e.g. getaddrinfo) should provide a flag to suppress IDNA.

Regards,
Martin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]