[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [idn] universal typability



At 00/03/16 15:26 +0100, Dan Oscarsson wrote:


>This show one of the problems Kent is talking about.
>A URL like: http://www.g蚶.net/g蚶.html
>could look like: http://www.8wahdfhud.net/g%c3%a5s.html
>if we use an opaque scheme for domain names.
>The %-encoding should not be used in the domain name part.
>Think about the mess otherwise:
>   Should I do ftp www.8wahdfhud.net or www.g%c3%a5s.net?
>   Why does ftp www.8wahdfhud.net work but not ftp www.g%c3%a5s.net.
>   But in my browser ftp://www.g%c3%a5s.net/ does work.
>
>If we use ASCII compatibility encodings, the same object must
>be encoded using the same scheme everywhere, if possible.
>What a mess otherwise.

Well, this sounds reasonable, but there is the other side of the
coin: Any URI should be encoded uniformly, independent of the
components it contains. For an example of how to correctly
deal with this if some component/protocol is internationalized
differently, please see RFC 2192 about the URL for IMAP (the IMAP
protocol uses a modified version of UTF-7, but its URIs use UTF-8).

Regards,   Martin.