[FFmpeg-devel] [PATCH]lavf/mpegts: Convert service name and service provider to utf-8
Marton Balint
cus at passwd.hu
Sun Feb 10 01:23:50 EET 2019
On Sat, 9 Feb 2019, Carl Eugen Hoyos wrote:
> 2019-02-09 23:14 GMT+01:00, Marton Balint <cus at passwd.hu>:
>>
>>
>> On Sat, 9 Feb 2019, Carl Eugen Hoyos wrote:
>>
>> +#if CONFIG_ICONV
>> + if (len && *p < 0x20) {
>>> + const char *encodings[] = {
>>> + "ISO6937", "ISO-8859-5", "ISO-8859-6", "ISO-8859-7",
>>> "ISO-8859-8",
>>> + "ISO-8859-9", "ISO-8859-10", "ISO-8859-11", "",
>>> "ISO-8859-13",
>>> + "ISO-8859-14", "ISO-8859-15", "", "", "", "",
>>> + "", "ISO-10646", "KSC_5601", "GB2312", "ISO-10646", "UTF-8",
>>> "",
>>> + "", "", "", "", "", "", "", "", ""
>>
>> Instead of ISO-10646 you probably should use UCS-2BE, VLC
>> is also doing this and the specs refer to the basic multilingual
>> plane. ISO-10646 alone is UCS-4 which uses 4 byte encoding,
>> probably not what we want here.
>
> (Not "BIG-5"?)
No, see this VLC ticket:
https://trac.videolan.org/vlc/ticket/8235
Regards,
Marton
More information about the ffmpeg-devel
mailing list