[MPlayer-dev-eng] locale in GUI
Hans-Dieter Kosch
hdkosch at kabelbw.de
Thu Mar 14 00:43:57 CET 2013
Reimar Döffinger wrote:
> On 13 Mar 2013, at 01:03, Hans-Dieter Kosch <hdkosch at kabelbw.de> wrote:
>> Attached a first idea to cope with the environment:
>> If we find UTF8 in the env (LC_ALL, LANG), unset G_FILENAME_ENCODING.
>> Otherwise, remove '@locale' in the first place (relevant for file names), hopefully the rest is useful.
>
> Why would that be better than my solution that completely avoids the issue by not using from_utf8, also happens to work for mixed encodings and simplifies the code?
I don't intend to outweigh your solution. My proposal is just an idea in
parallel, to get more robust against disturbing env settings. Settings, which
are not directly related to MPlayer but to the libs it is using. So, by
modifying the env that the libs see, we can guide them to MPlayer's expected
behaviour.
More information about the MPlayer-dev-eng
mailing list