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



On Fri, Aug 24, 2001 at 06:59:53PM -0400, Alex Larsson wrote:
> 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:
[..]
> >    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().

  yep, I didn't suggest to do this, I just took this as another example
on how non ascii chars chould be encoded in URLs, and the steps 3.1 3.2
and 3.3 are just fine I think. 
  Normalization is another level, I should have removed it in my extract
and I don't suggest to do this.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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