From f6634654b550172efe4a493fe131f0b408822c28 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 26 Nov 2003 08:22:18 +0000 Subject: [PATCH] Change some charset-ids of private coded-charsets. --- src/char-ucs.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/char-ucs.h b/src/char-ucs.h index 9f22a62..7b62001 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -70,38 +70,38 @@ typedef short Charset_ID; /* ISO/IEC 10646 BMP */ #define LEADING_BYTE_UCS_BMP -176 -/* ISO/IEC 10646 SMP */ -#define LEADING_BYTE_UCS_SMP 1 - -/* ISO/IEC 10646 SIP */ -#define LEADING_BYTE_UCS_SIP 2 - /* Japanese JIS X0208 Common 2/4 2/{(8),9,10,11} 4/2 (B) */ -#define LEADING_BYTE_JIS_X0208 3 +#define LEADING_BYTE_JIS_X0208 0 /* Chinese GB 12345-1990 */ -#define LEADING_BYTE_CHINESE_GB12345 4 +#define LEADING_BYTE_CHINESE_GB12345 1 -#define LEADING_BYTE_CHINESE_BIG5 5 +#define LEADING_BYTE_CHINESE_BIG5 2 /* Big5 Level 1 2/4 2/{(8),9,10,11} 4/0 '0' */ -#define LEADING_BYTE_CHINESE_BIG5_1 6 +#define LEADING_BYTE_CHINESE_BIG5_1 3 /* Big5 Level 2 2/4 2/{(8),9,10,11} 4/0 '1' */ -#define LEADING_BYTE_CHINESE_BIG5_2 7 +#define LEADING_BYTE_CHINESE_BIG5_2 4 /* VISCII 1.1 */ -#define LEADING_BYTE_LATIN_VISCII 8 +#define LEADING_BYTE_LATIN_VISCII 5 /* MULE VISCII-LOWER (CHARSET_ID_OFFSET_96 + '1') */ -#define LEADING_BYTE_LATIN_VISCII_LOWER 9 +#define LEADING_BYTE_LATIN_VISCII_LOWER 6 /* MULE VISCII-UPPER (CHARSET_ID_OFFSET_96 + '2') */ -#define LEADING_BYTE_LATIN_VISCII_UPPER 10 +#define LEADING_BYTE_LATIN_VISCII_UPPER 7 -#define LEADING_BYTE_ETHIOPIC_UCS 11 +#define LEADING_BYTE_ETHIOPIC_UCS 8 + +/* ISO/IEC 10646 SMP */ +#define LEADING_BYTE_UCS_SMP 9 + +/* ISO/IEC 10646 SIP */ +#define LEADING_BYTE_UCS_SIP 10 -#define MIN_LEADING_BYTE_PRIVATE 12 +#define MIN_LEADING_BYTE_PRIVATE 11 #define MAX_LEADING_BYTE_PRIVATE 512 -- 1.7.10.4