From e1acba1e83be1bb1faca94f9aaa06cd1e3ca9cc4 Mon Sep 17 00:00:00 2001 From: tomo Date: Tue, 26 Nov 2002 12:46:35 +0000 Subject: [PATCH] (LEADING_BYTE_UCS_GB): New macro. --- src/char-ucs.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/char-ucs.h b/src/char-ucs.h index ce3fcd7..961ded3 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -78,26 +78,29 @@ typedef short Charset_ID; /* ISO/IEC 10646 SIP */ #define LEADING_BYTE_UCS_SIP (MIN_LEADING_BYTE + 5) +/* ISO/IEC 10646 for GB */ +#define LEADING_BYTE_UCS_GB (MIN_LEADING_BYTE + 6) + /* ISO/IEC 10646 for CNS */ -#define LEADING_BYTE_UCS_CNS (MIN_LEADING_BYTE + 6) +#define LEADING_BYTE_UCS_CNS (MIN_LEADING_BYTE + 7) /* ISO/IEC 10646 for JIS */ -#define LEADING_BYTE_UCS_JIS (MIN_LEADING_BYTE + 7) +#define LEADING_BYTE_UCS_JIS (MIN_LEADING_BYTE + 8) /* ISO/IEC 10646 for KS */ -#define LEADING_BYTE_UCS_KS (MIN_LEADING_BYTE + 8) +#define LEADING_BYTE_UCS_KS (MIN_LEADING_BYTE + 9) /* ISO/IEC 10646 for Big5 */ -#define LEADING_BYTE_UCS_BIG5 (MIN_LEADING_BYTE + 9) +#define LEADING_BYTE_UCS_BIG5 (MIN_LEADING_BYTE + 10) /* Japanese JIS X0208 Common 2/4 2/{(8),9,10,11} 4/2 (B) */ -#define LEADING_BYTE_JIS_X0208 (MIN_LEADING_BYTE + 10) +#define LEADING_BYTE_JIS_X0208 (MIN_LEADING_BYTE + 11) /* Japanese JIS X0208-1990 2/4 2/{(8),9,10,11} 4/2 (B) */ -#define LEADING_BYTE_JAPANESE_JISX0208_1990 (MIN_LEADING_BYTE + 11) +#define LEADING_BYTE_JAPANESE_JISX0208_1990 (MIN_LEADING_BYTE + 12) /* Chinese GB 12345-1990 */ -#define LEADING_BYTE_CHINESE_GB12345 (MIN_LEADING_BYTE + 12) +#define LEADING_BYTE_CHINESE_GB12345 (MIN_LEADING_BYTE + 13) #define LEADING_BYTE_CHINESE_BIG5 (MIN_LEADING_BYTE + 20) -- 1.7.10.4