[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: Marc Blanchet <Marc.Blanchet@viagenie.qc.ca>
- Date: Sat, 17 Feb 2001 22:37:23 -0500
- Delivery-date: Sun, 18 Feb 2001 04:32:47 -0800
- Envelope-to: idn-data@psg.com
At/À 16:35 2001-02-17 -0800, Patrik Fältström you wrote/vous écriviez:
>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.
- One thing we also have to consider is the API (gethost*) have been
redefined for ipv6 support, where the new api support both ipv4 and
ipv6: RFC2553. IDN call should handle both old and new non-idn-aware-api.
Marc.
Marc Blanchet
Viagénie inc.
tel: 418-656-9254
http://www.viagenie.qc.ca
----------------------------------------------------------
Normos (http://www.normos.org): Internet standards portal:
IETF RFC, drafts, IANA, W3C, ATMForum, ISO, ... all in one place.