Re: g_filename_to/from_utf8()



Sven Neumann wrote:
Hi,

Egon Andersen <post talura dk> 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 about why the platforms behaves like they do.
It seems strange that G_BROKEN_FILENAMES is not set on RH7.3, but it is set to 1 on RH9... and apparently it should have been the opposite! Do this really mean that I can't rely on the default setup on neither RH7.3 nor RH9 or other Linux distros?
(I haven't done any manual changes around G_BROKEN_FILENAMES.)
I thought (hoped?) the idea was to make it easier to make portable applications ;-)

Best regards
Egon Andersen




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