Bug#272478: libglib2.0-0: Shouldn't require to set G_FILENAME_ENCODING in non UTF-8 locale

Sebastien Bacher Sebastien Bacher <seb128@debian.org>, 272478@bugs.debian.org
Mon, 20 Sep 2004 20:53:02 +0200


Le lundi 20 septembre 2004 =E0 20:15 +0200, Laurent Martelli a =E9crit :

> If a user wants UTF-8 filenames, shouldn't he use an utf-8 locale ?
> And all will be fine for him with a patch like mine. The current
> behavious is completly bogus with a non utf-8 locale since programs
> use the locale's encoding for filenames. Am I missing something ?

Look on http://bugzilla.gnome.org/show_bug.cgi?id=3D94672 for example:

"We consider locale-dependent filenames to be "broken" because:

  - Multiple users may have different loclale needs, but
    can't share a filesystem if the filenames are locale-dependent.
  - If a single user needs to switch to a different locale
    temporarily, all their filenames get reinterpreted.
  - Tar files with such filenames in them aren't portable.

Etc."

or http://bugzilla.gnome.org/show_bug.cgi?id=3D118923


Cheers,

Sebastien Bacher