[MPlayer-dev-eng] Re: [PATCH] OSD localization third try

Tobias Diedrich ranma at tdiedrich.de
Sat Nov 5 19:14:15 CET 2005


Paul TT wrote:
> patch updated...
> 
> subject to comments again :-)

With --encoding=utf-8 I get garbage for non-ascii characters on the
OSD (looks like MPlayer's treating the string as iso-8859-1 anyway).
Probably there needs to be some charset dependend iconv conversion
in the OSD code.

BTW __sub_osd_names[] in libvo/sub.c is probably also translatable.

*looking at libvo/sub.c*

Hmm, vo_update_text_osd() basically does
"while (*(s++)) render_one_glyph(*s);", which is of course borken
for multibyte-encodings like utf-8.

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de




More information about the MPlayer-dev-eng mailing list