Skip to content

Commit af865e2

Browse files
committed
FIX: included support for some rare codepages in iconv
1 parent ea71e78 commit af865e2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/core/u-iconv.c

+11-11
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ static struct {
316316
{437, "IBM437"}, /* OEM United States */
317317
{500, "IBM500"}, /* IBM EBCDIC International */
318318
{708, "ASMO-708"}, /* Arabic (ASMO 708) */
319-
/* 709 Arabic (ASMO-449+, BCON V4) */
320-
/* 710 Arabic - Transparent Arabic */
319+
{709, "709"}, /* Arabic (ASMO-449+, BCON V4) */
320+
{710, "710"}, /* Arabic - Transparent Arabic */
321321
{720, "DOS-720"}, /* Arabic (Transparent ASMO); Arabic (DOS) */
322322
{737, "IBM737"}, /* OEM Greek (formerly 437G); Greek (DOS) */
323323
{775, "IBM775"}, /* OEM Baltic; Baltic (DOS) */
@@ -475,18 +475,18 @@ static struct {
475475
{50225, "ISO-2022-KR"}, /* ISO 2022 Korean */
476476
{50225, "ISO2022-KR"}, /* ISO 2022 Korean */
477477
{50227, "x-cp50227"}, /* ISO 2022 Simplified Chinese; Chinese Simplified (ISO 2022) */
478-
/* 50229 ISO 2022 Traditional Chinese */
479-
/* 50930 EBCDIC Japanese (Katakana) Extended */
480-
/* 50931 EBCDIC US-Canada and Japanese */
481-
/* 50933 EBCDIC Korean Extended and Korean */
482-
/* 50935 EBCDIC Simplified Chinese Extended and Simplified Chinese */
483-
/* 50936 EBCDIC Simplified Chinese */
484-
/* 50937 EBCDIC US-Canada and Traditional Chinese */
485-
/* 50939 EBCDIC Japanese (Latin) Extended and Japanese */
478+
{50229, "50229"}, /* ISO 2022 Traditional Chinese */
479+
{50930, "50930"}, /* EBCDIC Japanese (Katakana) Extended */
480+
{50931, "50931"}, /* EBCDIC US-Canada and Japanese */
481+
{50933, "50933"}, /* EBCDIC Korean Extended and Korean */
482+
{50935, "50935"}, /* EBCDIC Simplified Chinese Extended and Simplified Chinese */
483+
{50936, "50936"}, /* EBCDIC Simplified Chinese */
484+
{50937, "50937"}, /* EBCDIC US-Canada and Traditional Chinese */
485+
{50939, "50939"}, /* EBCDIC Japanese (Latin) Extended and Japanese */
486486
{51932, "EUC-JP"}, /* EUC Japanese */
487487
{51936, "EUC-CN"}, /* EUC Simplified Chinese; Chinese Simplified (EUC) */
488488
{51949, "EUC-KR"}, /* EUC Korean */
489-
/* 51950 EUC Traditional Chinese */
489+
{51950, "51950"}, /* EUC Traditional Chinese */
490490
{52936, "HZ-GB-2312"}, /* HZ-GB2312 Simplified Chinese; Chinese Simplified (HZ) */
491491
{54936, "GB18030"}, /* Windows XP and later: GB18030 Simplified Chinese (4 byte); Chinese Simplified (GB18030) */
492492
{57002, "x-iscii-de"}, /* ISCII Devanagari */

0 commit comments

Comments
 (0)