[MPlayer-dev-eng] locale in GUI

Ingo Brückl ib at wupperonline.de
Sun Mar 10 22:38:41 CET 2013


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)?

Ingo


More information about the MPlayer-dev-eng mailing list