[FFmpeg-devel] [PATCH] mention that metadata tags are UTF-8

Anton Khirnov wyskas
Sun Feb 21 22:25:59 CET 2010


On Sun, Feb 21, 2010 at 09:22:39AM +0100, Reimar D?ffinger wrote:
> 
> Which part are you trying to document here, that they are strings (any reason that
> would be non-obvious?), or that they are UTF-8?
UTF-8.

> Either way it should avoid two things:
> 1) giving the impression that it's a special case it is UTF-8 (all strings in FFmpeg
> are UTF-8)
> 2) giving the impression that the strings are validated as being UTF-8 - while they
> are _supposed_ to be UTF-8 they might be any 0-terminated binary data if coming from
> a demuxer. If the application sets it, we may fail in the future if it's not valid UTF-8
> though.
an attempt at better wording attached.

Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-metadata-API-mention-that-keys-values-are-UTF-8.patch
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100221/64ec0a71/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100221/64ec0a71/attachment.pgp>



More information about the ffmpeg-devel mailing list