Mercurial > mplayer.hg
comparison libmpdemux/demux_nsv.c @ 34355:316f6edb49de
Avoid double conversion from utf16/ucs2 to utf8 for text subtitles.
There is code that auto-detects utf16 encoding of the subtitle stream
and forces the reading functions to convert it to native utf8.
The bug happens when using enca to (correctly) guess that the input
file has ucs2 encoding and tries to convert the input stream to utf8, again.
In my case iconv did not accept the input and discarded the subtitles
completely.
author | iive |
---|---|
date | Wed, 14 Dec 2011 00:17:49 +0000 |
parents | beafae9de2be |
children | f3c835ddce85 |
comparison
equal
deleted
inserted
replaced
34354:60ac9c33695b | 34355:316f6edb49de |
---|