Comment 5 for bug 8256

Revision history for this message
In , Josselin Mouette (joss) wrote : Re: Bug#272478: libglib2.0-0: Shouldn't require to set G_FILENAME_ENCODING in non UTF-8 locale

Le lundi 20 septembre 2004 à 20:15 +0200, Laurent Martelli a écrit :
> >>>>> "Sebastien" == Sebastien Bacher <email address hidden> writes:
>
> Sebastien> severity 272478 wishlist tag 272478 + wontfix thanks
>
> Sebastien> Hi,
>
> Sebastien> This has already been discuted again and again upstream,
> Sebastien> there is no better solution than the current one to have
> Sebastien> a working utf-8 support. I'll add some pointers to
> Sebastien> previous discussion a big later. For the moment I change
> Sebastien> the severity of the bug to wishlist + wontfix since
> Sebastien> upstreams are not going to change that.
>
> 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 ?

You're missing the point; especially, the locale setting is not system-
wide, and the files' accessibility shouldn't be affected by a locale
change. As there is no way to tell a filesystem which encoding the
filenames are in, the only solution is to use a single encoding for all
files.
--
 .''`. Josselin Mouette /\./\
: :' : <email address hidden>
`. `' <email address hidden>
  `- Debian GNU/Linux -- The power of freedom