[MPlayer-dev-eng] locale in GUI

Hans-Dieter Kosch hdkosch at kabelbw.de
Sun Mar 10 23:19:04 CET 2013


Ingo Brückl wrote:
> Hans-Dieter Kosch wrote on Sun, 10 Mar 2013 21:49:17 +0100:
> 
>> Ingo Brückl wrote:
>>> Hans-Dieter Kosch wrote on Sun, 10 Mar 2013 20:24:29 +0100:
>>>
>>>> Ingo Brückl wrote:
>>>>> Hans-Dieter Kosch wrote on Sun, 10 Mar 2013 19:24:37 +0100:
>>>>>
>>>>>> the function g_filename_to_utf8() used in the GUI (fileselect.c,
>>>>>> playlist.c) doesn't return a filename containing characters outside the
>>>>>> standard ASCII range.
>>>>> Please elaborate. I didn't notice any problems so far.
>>>>>
>>>> Just try a filename with german Umlauts, g_filename_to_utf8() returns NULL
>>>> with conversion error.
>>> If that were so, I would have done a really bad job.
>>>
>> Oh, sorry. I meant 'g_filename_from_utf8()', not 'g_filename_to_utf8()'.
>> Seems, I've too much messed up during last time. Bad mistake... :-(
> 
> No, that works as well.
> 
> What is your locale? Are your filenames encoded in that locale? Does GLib
> know about your filename encoding (if not UTF-8)?
> 
My locale is en_US.UTF-8, the filenames are encoded in that locale.
My env vars:
LANG=en_US.UTF-8
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
G_BROKEN_FILENAMES=1


More information about the MPlayer-dev-eng mailing list