Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c7a7fa

Browse files
committed
Add comments about additional mule-internal charsets from emacs's
source code(lisp/international/mule-conf.el). These charsets have not been supported up to now anyway, so this is just for adding commentary. Also add mention that we follow emacs's implementation, not xemacs's.
1 parent 60e9c22 commit 1c7a7fa

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/include/mb/pg_wchar.h

+11-3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ typedef unsigned int pg_wchar;
8181
* private-charset flag values do not match what XEmacs says they should be,
8282
* so this isn't really exactly MULE (not that private charsets would be
8383
* interoperable anyway).
84+
*
85+
* Note that XEmacs's implementation is different from what emacs does.
86+
* We follow emacs's implementaion, rathter than XEmacs's.
8487
*----------------------------------------------------
8588
*/
8689

@@ -108,7 +111,7 @@ typedef unsigned int pg_wchar;
108111
#define LC_KOI8_R 0x8b /* Cyrillic KOI8-R */
109112
#define LC_ISO8859_5 0x8c /* ISO8859 Cyrillic */
110113
#define LC_ISO8859_9 0x8d /* ISO8859 Latin 5 (not supported yet) */
111-
/* #define FREE 0x8e free (unused) */
114+
#define LC_ISO8859_15 0x8e /* ISO8859 Latin 15 (not supported yet) */
112115
/* #define CONTROL_1 0x8f control characters (unused) */
113116

114117
/* Is a leading byte for "official" single byte encodings? */
@@ -119,14 +122,13 @@ typedef unsigned int pg_wchar;
119122
* 0x9a-0x9d are free. 0x9e and 0x9f are reserved.
120123
*/
121124
#define LC_JISX0208_1978 0x90 /* Japanese Kanji, old JIS (not supported) */
122-
/* #define FREE 0x90 free (unused) */
123125
#define LC_GB2312_80 0x91 /* Chinese */
124126
#define LC_JISX0208 0x92 /* Japanese Kanji (JIS X 0208) */
125127
#define LC_KS5601 0x93 /* Korean */
126128
#define LC_JISX0212 0x94 /* Japanese Kanji (JIS X 0212) */
127129
#define LC_CNS11643_1 0x95 /* CNS 11643-1992 Plane 1 */
128130
#define LC_CNS11643_2 0x96 /* CNS 11643-1992 Plane 2 */
129-
/* #define FREE 0x97 free (unused) */
131+
#define LC_JISX0213-1 0x97 /* Japanese Kanji (JIS X 0213 Plane 1) (not supported) */
130132
#define LC_BIG5_1 0x98 /* Plane 1 Chinese traditional (not supported) */
131133
#define LC_BIG5_2 0x99 /* Plane 1 Chinese traditional (not supported) */
132134

@@ -184,6 +186,12 @@ typedef unsigned int pg_wchar;
184186
* (not supported) */
185187
#define LC_TIBETAN_1_COLUMN 0xf1 /* Tibetan 1-column width glyphs
186188
* (not supported) */
189+
#define LC_UNICODE_SUBSET_2 0xf2 /* Unicode characters of the range U+2500..U+33FF.
190+
* (not supported) */
191+
#define LC_UNICODE_SUBSET_3 0xf3 /* Unicode characters of the range U+E000..U+FFFF.
192+
* (not supported) */
193+
#define LC_UNICODE_SUBSET 0xf4 /* Unicode characters of the range U+0100..U+24FF.
194+
* (not supported) */
187195
#define LC_ETHIOPIC 0xf5 /* Ethiopic characters (not supported) */
188196
#define LC_CNS11643_3 0xf6 /* CNS 11643-1992 Plane 3 */
189197
#define LC_CNS11643_4 0xf7 /* CNS 11643-1992 Plane 4 */

0 commit comments

Comments
 (0)