Re: UTF8 and URL

From: John Cowan (
Date: Thu Aug 14 1997 - 11:49:01 EDT

Yung-Fong Tang wrote:
> One of the example is IMAP4rev1 mailbox name. IMAP4rev1 said the mailbox
> name have to be in "Modified version of UTF-7" and the following draft
> try to put IMAP4 into a URL.
> So what really the text in the URL mean now (if we restrict to use UTF-8
> in the URL) ?

I think the draft is pretty clear. The URL is:

Encode("URL-encoding", Encode("UTF-8", Decode("Modified UTF-7",

or conversely the mailbox name is:

Encode("Modified UTF-7", Decode("UTF-8", Decode("URL-encoding", URL)))

John Cowan
			e'osai ko sarji la lojban

This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:36 EDT