[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: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2003-11-24 09:42:42 CET

On 2003-11-23 19:12:34 -0700, Jani Averbach wrote:
> $ LANG=en_GB gnumeric
> $ ls foo* | od -tx1 | head -n 1
> 0000000 66 6f 6f e9 2e 67 6e 75 6d 65 72 69 63 0a
>
> And I've just shown that it does. The score is 2-1.

IMHO, I think that you both use an outdate version or perhaps it has
been compiled with 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.

> If you are using a distro (RH8+ ?) that has a tweaked locale settings,

I'm using the Debian distribution and have the latest gnumeric package.

> If you like continue this debate, please bring references to ie. LSB
> [1] or some POSIX standard that are saying that default file coding
> is UTF-8 - in every case, despite locale settings.

On the other hand, I've never seen a standard saying that the filenames
should be interpreted in the current locales.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 09:43:34 2003

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