Commit 1937a483 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ts: correct Traditional Chinese EPG encoding (fixes #8235)

ETSI EN 300 468 § A.2 assigns the first byte 0x14 value to the
"Big5 subset of ISO/IEC 10646". This really means that the character
set is Big5, but the encoding is ISO/IEC 10646, a.k.a. Unicode.
parent 72999af2
...@@ -58,6 +58,7 @@ static char *vlc_from_EIT (const void *buf, size_t length) ...@@ -58,6 +58,7 @@ static char *vlc_from_EIT (const void *buf, size_t length)
return NULL; return NULL;
break; break;
case 0x11: /* the BMP */ case 0x11: /* the BMP */
case 0x14: /* Big5 subset of the BMP */
encoding = "UCS-2BE"; encoding = "UCS-2BE";
break; break;
case 0x12: case 0x12:
...@@ -70,9 +71,6 @@ static char *vlc_from_EIT (const void *buf, size_t length) ...@@ -70,9 +71,6 @@ static char *vlc_from_EIT (const void *buf, size_t length)
case 0x13: /* GB-2312-1980 */ case 0x13: /* GB-2312-1980 */
encoding = "GB2312"; encoding = "GB2312";
break; break;
case 0x14: /* Big5 subset of the BMP */
encoding = "BIG-5";
break;
case 0x15: case 0x15:
encoding = "UTF-8"; encoding = "UTF-8";
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment