[MPlayer-dev-eng] locale in GUI

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


Hi,

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. This is because setting the locale is disabled by gtk_disable_setlocale() 
in gui/dialog/dialog.c (r22126) and thus glib works on the "C" locale. Does 
anybody remember the reason? Removing this disabling makes it work, but I'm 
unsure how it affects other parts of MPlayer as it is a global setting. How to 
resolve?

Hans-Dieter


More information about the MPlayer-dev-eng mailing list