[MPlayer-dev-eng] [PATCH] GTK2 support

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Feb 20 10:02:27 CET 2006


Hi,
On Mon, Feb 20, 2006 at 10:51:33AM +0300, Vladimir Mosgalin wrote:
>  On 2006.02.20 at 09:17:35 +0200, Jan Knutar wrote next:
> > Was there something wrong with the current GTK2 support that's in
> > CVS?
> 
> There is - it doesn't work unless mplayer is compiled with english
> language only or in UTF-8 locale.
> 
> I.e. all those who want to have mplayer's messages in ru_RU.CP1251 or
> pl_PL.ISO8859-2 or some other non-english non-unicode locale are out of
> luck with the "new gtk2" gui.

That is no different with this suggested patch. IMHO the solution would
be to use UTF8 for all translated strings and make mp_msg convert them
via iconv if available. The --charset option would still be available
for all who need it...
Though I do not know how to detect the charset of the terminal...

Greetings,
Reimar Doeffinger




More information about the MPlayer-dev-eng mailing list