[FFmpeg-devel] [PATCH] lavc: make invalid UTF-8 in subtitle output a non-fatal error

Nicolas George nicolas.george at normalesup.org
Sat Aug 10 14:41:36 CEST 2013


Le tridi 23 thermidor, an CCXXI, wm4 a écrit :
> That's a funny statement from someone who thinks he can probe 8
> bit legacy encodings by trying to convert them one after another with
> iconv() until the first that succeeds. That's a really nice way to get
> broken text, isn't that what you want to prevent?

Vim has been doing exactly that for years and it works rather well in almost
all cases, with the necessary hooks to handle the few failing situations.
You will forgive me to trust Bram Moolenaar and my own experience and try to
imitate that design.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130810/116917ba/attachment.asc>


More information about the ffmpeg-devel mailing list