[vlc-devel] [PATCH] UTF-16 chapter titles

Jean-Baptiste Kempf jb at videolan.org
Sun Jul 3 19:15:51 CEST 2016


On 03 Jul, Donald Campbell wrote :
> This patch detects UTF-16 titles and copies their data with memcpy instead of strndup, then turns it into a UTF-8 passing string.

Shouldn't you use iconv instead to do the conversion?

Also, are UTF-16 titles legal?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list