[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: Thu, 15 Feb 2001 04:08:54 -0500 (EST)
- Delivery-date: Thu, 15 Feb 2001 01:14:20 -0800
- Envelope-to: idn-data@psg.com
Dan writes:
> If I look at how I would like things to work, if could be like this:
>
> user enters name in application using LOCAL character set.
> ->
> application calls routnes like: gethostbyname
> ->
> gethostbyname converts form LOCAL character set to
> normalised (not namepreped) UTF-8 (or other format).
> it may reject the query if the name contains forbidden characters.
> and sends the query to DNS server.
How does gethostbyname() know for sure what the character set of its
argument is?