[FFmpeg-devel] [PATCH] lavc: support subtitles charset conversion.

Clément Bœsch 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.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130104/bc7fce49/attachment.asc>


More information about the ffmpeg-devel mailing list