[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [idn] The layers and character handling in DNS
- To: idn@ops.ietf.org
- Subject: Re: [idn] The layers and character handling in DNS
- From: tale@nominum.com (David C Lawrence)
- Date: Sat, 17 Feb 2001 12:38:37 -0500 (EST)
- Delivery-date: Sat, 17 Feb 2001 09:39:36 -0800
- Envelope-to: idn-data@psg.com
> >How does gethostbyname() know for sure what the character set of its
> >argument is?
>
> In Unix from the current locale.
This is not reliable, certainly not in the already deployed software,
which is what you are trying to accomodate by not changing the API.
How does gethostbyname() *know for sure* what the character set of its
argument is? Answer: it doesn't, because there is no way that it can.