[MPlayer-users] Bug in UTF-8 subtitles

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue May 29 01:12:36 CEST 2007


On Monday 28 May 2007, conr at poczta.fm wrote:
> > On Wednesday 09 August 2006 17:51, conr at poczta.fm wrote:
> >> MPlayer do not display first subtitle from UTF-8 subtitles files.
> >
> > Can you provide a sample ?
>
> I thing it affect all subtitle file, which are encoded in UTF-8, without
> free line at start, in format like this:
>
>
>
> {18}{65}/W POPRZEDNIM ODCINKU
> {270}{341}Mayday, Mayday!
> {342}{425}To po francusku! Leca tu Francuzi!|Co za szczescie!
> {426}{497}Czy ktos z was zna francuski?
>
>
>
> I am attaching sample. When you add free line at start it will work
> correctly.
>
> Sorry for delay.

No big deal, it was not even a year ;)

Your file contains Unicode BOM at the beginning. AFAIK it should be ignored in 
utf-8, but mplayer failes to do it and, consequently, can not parse the first 
line. Thanks for reporting, I'll see what can be done.



More information about the MPlayer-users mailing list