[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with accents in filenames

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-11-24 15:22:49 CET

Vincent Lefevre <vincent+svn@vinc17.org> writes:

I note you avoided my question again:

  You keep avoiding my question. I have "foo\xe9" on disk. I want to
  use "foo\xe9" as a filename. How do I do that if you impose UTF-8?

> the G_BROKEN_FILENAMES option. See
> http://www.gtk.org/gtk-2.2.0-notes.html
> I quote:
> * The assumption of GLib and GTK+ by default is that filenames on the
> filesystem are encoded in UTF-8 rather than the encoding of the locale;
> The GTK+ developers consider that having filenames whose interpretation
> depends on the current locale is fundamentally a bad idea.

That must be it, although it appears to contradict the API documentation



I guess the API documentation is out of date? Does KDE do the same,
or are GNOME and KDE now incompatible (perhaps all the developers
speak ASCII and/or UTF-8 and haven't noticed)? Doesn't having UTF-8
filenames with file contents in some other encoding cause lots of
problems on the command line? What happens when one wants to put
filenames inside files?

I'm a native English speaker and I rarely stray outside ASCII, but
what about others, CJK users say? Do Chinese users want UTF-8 encoded
filenames or do they want a GB18030 encoding? Why is respecting their
choice by following their locale "fundamentally a bad idea"? It's
possible that most western languages are going to be UTF-8 encoded in
the future (on Unix anyway) but it's not clear that all languages will
be UTF-8.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 15:23:35 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.