Re: g_filename_to/from_utf8()

2004-02-03 Thread Egon Andersen
Owen Taylor wrote: On Mon, 2004-02-02 at 17:24, Egon Andersen wrote: On RH9: locale gives LANG=en_DK.UTF-8 LC_CTYPE=en_DK.UTF-8 LC_NUMERIC=en_DK.UTF-8 LC_TIME=en_DK.UTF-8 LC_COLLATE=en_DK.UTF-8 LC_MONETARY=en_DK.UTF-8 LC_MESSAGES=en_DK.UTF-8 LC_PAPER=en_DK.UTF-8 LC_NAME=en_DK.UTF-8

Re: g_filename_to/from_utf8()

2004-02-02 Thread Sven Neumann
Hi, Egon Andersen [EMAIL PROTECTED] writes: I've had some problems with g_filename_to/from_utf8(). The encoding of the returned string depends on the encoding of your locale but only if you have the environment variable G_BROKEN_FILENAMES set. Sven

g_filename_to/from_utf8()

2004-02-02 Thread Egon Andersen
Hi, I've had some problems with g_filename_to/from_utf8(). On a Linux RH7.3 g_filename_from_utf8() returns an utf8 string i.e. not converted. RH7.3 do not use utf8 as its native file name representation. On a Linux RH9 g_filename_from_utf8() returns an iso-8859-1 string (atleast it looks like

Re: g_filename_to/from_utf8()

2004-02-02 Thread Egon Andersen
Sven Neumann wrote: Hi, Egon Andersen [EMAIL PROTECTED] writes: I've had some problems with g_filename_to/from_utf8(). The encoding of the returned string depends on the encoding of your locale but only if you have the environment variable G_BROKEN_FILENAMES set. Okay, this gave me some info

Re: g_filename_to/from_utf8()

2004-02-02 Thread Owen Taylor
On Mon, 2004-02-02 at 15:25, Egon Andersen wrote: Sven Neumann wrote: Egon Andersen [EMAIL PROTECTED] writes: I've had some problems with g_filename_to/from_utf8(). The encoding of the returned string depends on the encoding of your locale but only if you have the environment

Re: g_filename_to/from_utf8()

2004-02-02 Thread Egon Andersen
Owen Taylor wrote: On Mon, 2004-02-02 at 15:25, Egon Andersen wrote: Sven Neumann wrote: Egon Andersen [EMAIL PROTECTED] writes: I've had some problems with g_filename_to/from_utf8(). The encoding of the returned string depends on the encoding of your locale but only if you have

Re: g_filename_to/from_utf8()

2004-02-02 Thread Owen Taylor
On Mon, 2004-02-02 at 17:24, Egon Andersen wrote: On RH9: locale gives LANG=en_DK.UTF-8 LC_CTYPE=en_DK.UTF-8 LC_NUMERIC=en_DK.UTF-8 LC_TIME=en_DK.UTF-8 LC_COLLATE=en_DK.UTF-8 LC_MONETARY=en_DK.UTF-8 LC_MESSAGES=en_DK.UTF-8 LC_PAPER=en_DK.UTF-8 LC_NAME=en_DK.UTF-8

g_filename_to/from_utf8()

2004-02-01 Thread Egon Andersen
Hi, I've had some problems with g_filename_to/from_utf8(). On a Linux RH7.3 g_filename_from_utf8() returns an utf8 string i.e. not converted. RH7.3 do not use utf8 as its native file name representation. On a Linux RH9 g_filename_from_utf8() returns an iso-8859-1 string (atleast it looks like