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

Paul TT paultt at hackerjournal.it
Sun Nov 6 03:36:48 CET 2005


On Sat, 5 Nov 2005 19:14:15 +0100
Tobias Diedrich <ranma at tdiedrich.de> wrote:

> 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.

i'm looking at it...

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

done

> *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.

looking...




More information about the MPlayer-dev-eng mailing list