I-D Action:draft-josefsson-getaddrinfo-idn-00.txt
Nicolas Williams
Nicolas.Williams at oracle.com
Thu Jun 17 18:15:51 CEST 2010
On Thu, Jun 17, 2010 at 10:12:41AM +0200, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams at oracle.com> writes:
> > Therefore I think that getaddrinfo() should support lookups by IDNs
> > encoded in the caller's locale's codeset as described above, but should
> > return A-labels unless a hint is given that U-labels are preferred.
>
> In other words, you want AI_IDN to be the default behaviour, but not
> AI_CANONIDN.
Right.
> There likely needs to be an AI_NO_IDN or similar if an
> application for some reason wants to disable IDN processing of inputs.
Yes.
> I'm not sure what a use-case for AI_NO_IDN would be, but I suspect there
> may be some.
There's no harm in having such a flag.
I also want a AI_NO_CANONIDN, in preparation for a future day when
getaddrinfo() returns U-labels as the canonical hostname by default.
Nico
--
More information about the Idna-update
mailing list