[FFmpeg-devel] [RFC] function to check for valid UTF-8 string
Sun Dec 9 14:40:51 CET 2007
On Sun, Dec 09, 2007 at 11:18:32AM +0100, Reimar D?ffinger wrote:
> since Rich seems to have given up on it, here is a proposed patch
> that adds a av_check_utf8 function that could be used to validate
> input strings.
> Since it hacked it up very quickly please forgive any bugs or other
maybe the function should return a index to the last valid or first
invalid byte or something like that?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel