[MPlayer-users] mplayer and its gui handle characters set differently in cvs version

Jan Knutar jknutar at nic.fi
Tue Aug 23 18:10:24 CEST 2005


On Sunday 21 August 2005 20:32, Xiaoyang Gu wrote:
> System info:
> Debian sid + Gnome 2.10 
> locale: LC_CTYPE=zh_CN.GBK LC_ALL=C
> gcc: 4.01
> 
> i have checked out cvs source of Aug, 20th. 
> My configure options are --enable-gui --languagz=zh_CN
> --enable-largefiles --enable-menu. Then make and make install. Mplayer
> under terminal works fine, its output messages are right encoding. But
> what contained in gmplayer's menu are only icons and some English
> characters, and i got such message in terminal, "Pango-WARNING **:
> Invalid UTF-8 string passed to pango_layout_set_text()".
> If i add an option --charset=utf8, then gmplayer's menu's chinese
> characters can be displayed correctly. But mplayer's output messages
> become garbage whenever the local is utf-8 or not.


Hm. This is a result of the recent switch to GTK2. GTK2 wants everything
in UTF-8... I am guessing the default for zh_CN in MPlayer is not UTF-8,
but some local encoding... You probably need to have your xterm/console
set to display UTF-8 properly too :/




More information about the MPlayer-users mailing list