[FFmpeg-devel] [PATCH] movtextdec: fix handling of UTF-8 subtitles

Hendrik Leppkes h.leppkes at gmail.com
Sat Mar 24 18:15:56 EET 2018

On Sat, Mar 24, 2018 at 3:48 PM, wm4 <nfxjfg at googlemail.com> wrote:
> Subtitles which contained styled UTF-8 subtitles (i.e. not just 7 bit
> ASCII characters) were not handled correctly. The spec mandates that
> styling start/end ranges are in "characters". It's not quite clear what
> a "character" is supposed to be, but maybe they mean unicode codepoints.

Well a character certainly isn't a byte in a Unicode string, even if
the C type may be called that way.

So seems fine to me.

- Hendrik

More information about the ffmpeg-devel mailing list