[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [idn] The layers and character handling in DNS
- To: David C Lawrence <tale@nominum.com>
- Subject: Re: [idn] The layers and character handling in DNS
- From: =?euc-kr?Q?=B1=E8=5F=B0=E6=BC=AE-GIM=5FGyeongseog?= <gimgs@asadal.cs.pusan.ac.kr>
- Date: Thu, 15 Feb 2001 21:57:05 +0900 (KST)
- cc: idn@ops.ietf.org
- Delivery-date: Thu, 15 Feb 2001 05:02:02 -0800
- Envelope-to: idn-data@psg.com
On Thu, 15 Feb 2001, David C Lawrence wrote:
> 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?
i guess that gethostbyname need be extended so that one additional
param indicates the local char set.
±è °æ¼®, ºÎ»ê´ë Á¤º¸ ÄÄÇ»ÅÍ °øÇкÎ;
KIM Kyongsok/GIM Gyeongseog, Busan National Univ.
gimgs@HANGEUL.cs.pusan.ac.kr, http://HANGEUL.cs.pusan.ac.kr/hangeul/
Ph: (051) 510-2292, Fax: (051) 515-2208