[FFmpeg-devel] [PATCH] lavc: support subtitles charset conversion.
ubitux at gmail.com
Fri Jan 4 17:03:59 CET 2013
On Fri, Jan 04, 2013 at 11:20:12AM +0100, Nicolas George wrote:
> > +#if HAVE_ICONV
> > +#define UTF8_MAX_BYTES 4 /* 5 and 6 bytes sequences should not be used */
Sorry, I forgot to comment about this. I actually happened to read this on
the wikipedia page:
The original specification covered numbers up to 31 bits (the original
limit of the Universal Character Set). In November 2003 UTF-8 was
restricted by RFC 3629 to end at U+10FFFF, in order to match the
constraints of the UTF-16 character encoding. This removed all 5- and
6-byte sequences, and about half of the 4-byte sequences.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel