Re: URIs vs. half-baked URIs [glib PATCH]



On Fri, 24 Aug 2001, Daniel Veillard wrote:

>   There is also a pointer to the IRI (and not IURI as I wrote previously)
>   http://www.ietf.org/internet-drafts/draft-masinter-url-i18n-07.txt
> it's just a draft but it reinforces that the right way to handle non ASCII
> char should be to UTF8 encode them before conversion:
> 
> Section 2.3) Mapping of IRIs to URIs
> 
> -----------------------------
> This mapping can be accomplished by the following steps:
> 
>    1) Represent the IRI characters as a sequence of characters from the
>       UCS.
> 
>    2) Normalize the character sequence according to Normalization Form
>       C, as defined in [IETFNorm].  (See further discussion in Section
>       3.1.)

This part is very bad for our usage. It means you can't access files 
on the filesystem with non-normalized filenames. I will not implement this 
in g_filename_to/from_uri().

/ Alex






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