[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [idn] The layers and character handling in DNS
- To: Keith Moore <moore@cs.utk.edu>, tale@nominum.com (David C Lawrence)
- Subject: Re: [idn] The layers and character handling in DNS
- From: Patrik Fältström <paf@cisco.com>
- Date: Sat, 17 Feb 2001 16:35:12 -0800
- Cc: idn@ops.ietf.org
- Delivery-date: Sat, 17 Feb 2001 16:41:09 -0800
- Envelope-to: idn-data@psg.com
At 13.10 -0500 01-02-17, Keith Moore wrote:
> > 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.
>
>Let me suggest a different answer:
>
>gethostbyname() knows what the character set of the argument is
>because, by definition, it is ASCII.
FYI: In the IDNA algorithm, nameprep and ace encoding is done
_before_ gethostbyname() is called, for exactly the reasons Keith
lists.
paf