From: tomo Date: Tue, 29 Oct 2002 08:55:15 +0000 (+0000) Subject: (enum coding_system_type): Add `CODESYS_UTF16' in UTF-2000. X-Git-Tag: r21-4-9-utf-2000-0_19-n17-utf16-1~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=178b1d2a920202e398cf0a9320455c4539d30667;p=chise%2Fxemacs-chise.git (enum coding_system_type): Add `CODESYS_UTF16' in UTF-2000. (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE. (CODING_CATEGORY_UTF16_MASK): New macro in MULE. --- diff --git a/src/file-coding.h b/src/file-coding.h index 8b0f997..e13a645 100644 --- a/src/file-coding.h +++ b/src/file-coding.h @@ -45,6 +45,9 @@ enum coding_system_type CODESYS_BIG5, /* BIG5 (used for Taiwanese). */ CODESYS_UCS4, /* ISO 10646 UCS-4 */ CODESYS_UTF8, /* ISO 10646 UTF-8 */ +#ifdef UTF2000 + CODESYS_UTF16, /* ISO 10646 UTF-16 */ +#endif CODESYS_CCL, /* Converter written in CCL. */ #endif CODESYS_NO_CONVERSION /* "No conversion"; used for binary files. @@ -465,6 +468,7 @@ enum coding_category_type CODING_CATEGORY_ISO_LOCK_SHIFT, /* ISO2022 system using locking shift */ CODING_CATEGORY_SHIFT_JIS, CODING_CATEGORY_BIG5, + CODING_CATEGORY_UTF16, CODING_CATEGORY_UCS4, #else /* not MULE */ CODING_CATEGORY_NO_CONVERSION, @@ -489,6 +493,8 @@ enum coding_category_type (1 << CODING_CATEGORY_BIG5) #define CODING_CATEGORY_UCS4_MASK \ (1 << CODING_CATEGORY_UCS4) +#define CODING_CATEGORY_UTF16_MASK \ + (1 << CODING_CATEGORY_UTF16) #define CODING_CATEGORY_UTF8_MASK \ (1 << CODING_CATEGORY_UTF8) #endif