Re: Natilus using UTF-8 for filenames regardless of locale



On Fri, 2004-07-16 at 13:52, Mika Fischer wrote:
> Hi!
> 
> I've recently been bitten by this unexpected behaviour:
> 
> I don't use UTF-8 on my system (locale is de_DE euro -> iso-8859-15).
> But when I create or rename files containing non-ASCII chars using
> Nautilus they are in UTF-8 which makes them impossible to read on the
> console or in other applications which respect the locale.

This is the general behaviour in Gnome (this should be in some FAQ). If
you want to use locale-dependent encoding for filenames, set the
environment variable G_BROKEN_FILENAMES.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a short-sighted Republican barbarian on a search for his missing sister. 
She's a high-kicking cigar-chomping angel with a knack for trouble. They fight 
crime! 




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