[MPlayer-dev-eng] What's the use of '-unicode'?

Rich Felker dalias at aerifal.cx
Mon Aug 21 02:32:06 CEST 2006


On Sun, Aug 20, 2006 at 11:09:26AM +0800, 陆然 wrote:
> Hi,
> 
> On Saturday 19 August 2006 15:49, Zuxy Meng wrote:
> > Hi,
> >
> > Seems that only the libvo/ staff makes use of sub_unicode, so even the
> > user provides -unicode in the command line, his ucs-2 encoded
> > subtitles won't be recognized by subread.c. So what's the point
> > exactly is here? Do we support ucs-2 encoded subtitles anyway?
> 
> AFAIK mplayer does not support ucs-2 subtitles, since mplayer only do the 
> converting after the subtitle is processed into a subtitle structure. And 
> ucs-2 subtitles will not even be recognized because the code assume the 
> codepage of subtitle is ascii compatible.

AFAIK MPlayer only supports subtitles in text files. A file containing
ucs-2 is NOT A TEXT FILE. Convert it to utf-8.

Rich




More information about the MPlayer-dev-eng mailing list