New submission from fmm <[email protected]>:

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). Many tools assume or guess incorrectly the charset if they don't find the
BOM (ASS subtitles are always stored as UTF-8 in Matroska). When this happens
non-ASCII characters break. mkvextract and Aegisub always write the BOM when
extracting/writing ASS files to avoid these kind of problems.

----------
messages: 11240
priority: normal
status: new
substatus: new
title: ASS demuxer doesn't write UTF-8 BOM
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2104>
________________________________________________

Reply via email to