Reimar Döffinger <b...@reimardoeffinger.de> added the comment:

On Fri, Jul 16, 2010 at 10:01:09PM +0000, fmm wrote:
> When demuxing ASS subtitle tracks via
> 
> ffmpeg -i file.mkv -scodec copy subtitles.ass
> 
> the resulting file doesn't have an UTF-8 BOM mark at the beggining (0xEF 0xBB
> 0xBF).

There is no official UTF-8 BOM after all UTF-8 does not depend on byte-order,
and there are tools that are having issues if it is there (this includes FFmpeg,
FFmpeg will not strip it, in part because nobody implemented it, in part because
since it is not necessary, someone might actually have wanted that character
code there).
Also UTF-8 can be detected quite reliably without such a thing so there isn't
much of a reason those other tools couldn't be fixed instead (and maybe it would
finally be time for those tools to just _assume_ UTF8 unless told otherwise?)...

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2104>
________________________________________________

Reply via email to