1- /* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.63 2005/10/15 02:49:45 momjian Exp $ */
1+ /* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.64 2005/12/24 18:11:30 momjian Exp $ */
22
33#ifndef PG_WCHAR_H
44#define PG_WCHAR_H
@@ -54,64 +54,64 @@ typedef unsigned int pg_wchar;
5454/*
5555 * Official single byte encodings (0x81-0x8e)
5656 */
57- #define LC_ISO8859_1 0x81 /* ISO8859 Latin 1 */
58- #define LC_ISO8859_2 0x82 /* ISO8859 Latin 2 */
59- #define LC_ISO8859_3 0x83 /* ISO8859 Latin 3 */
60- #define LC_ISO8859_4 0x84 /* ISO8859 Latin 4 */
61- #define LC_TIS620 0x85 /* Thai (not supported yet) */
62- #define LC_ISO8859_7 0x86 /* Greek (not supported yet) */
63- #define LC_ISO8859_6 0x87 /* Arabic (not supported yet) */
64- #define LC_ISO8859_8 0x88 /* Hebrew (not supported yet) */
65- #define LC_JISX0201K 0x89 /* Japanese 1 byte kana */
66- #define LC_JISX0201R 0x8a /* Japanese 1 byte Roman */
57+ #define LC_ISO8859_1 0x81 /* ISO8859 Latin 1 */
58+ #define LC_ISO8859_2 0x82 /* ISO8859 Latin 2 */
59+ #define LC_ISO8859_3 0x83 /* ISO8859 Latin 3 */
60+ #define LC_ISO8859_4 0x84 /* ISO8859 Latin 4 */
61+ #define LC_TIS620 0x85 /* Thai (not supported yet) */
62+ #define LC_ISO8859_7 0x86 /* Greek (not supported yet) */
63+ #define LC_ISO8859_6 0x87 /* Arabic (not supported yet) */
64+ #define LC_ISO8859_8 0x88 /* Hebrew (not supported yet) */
65+ #define LC_JISX0201K 0x89 /* Japanese 1 byte kana */
66+ #define LC_JISX0201R 0x8a /* Japanese 1 byte Roman */
6767/* Note that 0x8b seems to be unused in as of Emacs 20.7.
6868 * However, there might be a chance that 0x8b could be used
6969 * in later version of Emacs.
7070 */
71- #define LC_KOI8_R 0x8b /* Cyrillic KOI8-R */
72- #define LC_KOI8_U 0x8b /* Cyrillic KOI8-U */
73- #define LC_ISO8859_5 0x8c /* ISO8859 Cyrillic */
74- #define LC_ISO8859_9 0x8d /* ISO8859 Latin 5 (not supported yet) */
75- /* #define FREE 0x8e free (unused) */
71+ #define LC_KOI8_R 0x8b /* Cyrillic KOI8-R */
72+ #define LC_KOI8_U 0x8b /* Cyrillic KOI8-U */
73+ #define LC_ISO8859_5 0x8c /* ISO8859 Cyrillic */
74+ #define LC_ISO8859_9 0x8d /* ISO8859 Latin 5 (not supported yet) */
75+ /* #define FREE 0x8e free (unused) */
7676
7777/*
7878 * Unused
7979 */
80- #define CONTROL_1 0x8f /* control characters (unused) */
80+ #define CONTROL_1 0x8f /* control characters (unused) */
8181
8282/*
8383 * Official multibyte byte encodings (0x90-0x99)
8484 * 0x9a-0x9d are free. 0x9e and 0x9f are reserved.
8585 */
8686#define LC_JISX0208_1978 0x90 /* Japanese Kanji, old JIS (not supported) */
87- /* #define FREE 0x90 free (unused) */
88- #define LC_GB2312_80 0x91 /* Chinese */
89- #define LC_JISX0208 0x92 /* Japanese Kanji (JIS X 0208) */
90- #define LC_KS5601 0x93 /* Korean */
91- #define LC_JISX0212 0x94 /* Japanese Kanji (JIS X 0212) */
92- #define LC_CNS11643_1 0x95 /* CNS 11643-1992 Plane 1 */
93- #define LC_CNS11643_2 0x96 /* CNS 11643-1992 Plane 2 */
94- /* #define FREE 0x97 free (unused) */
95- #define LC_BIG5_1 0x98 /* Plane 1 Chinese traditional (not supported) */
96- #define LC_BIG5_2 0x99 /* Plane 1 Chinese traditional (not supported) */
87+ /* #define FREE 0x90 free (unused) */
88+ #define LC_GB2312_80 0x91 /* Chinese */
89+ #define LC_JISX0208 0x92 /* Japanese Kanji (JIS X 0208) */
90+ #define LC_KS5601 0x93 /* Korean */
91+ #define LC_JISX0212 0x94 /* Japanese Kanji (JIS X 0212) */
92+ #define LC_CNS11643_1 0x95 /* CNS 11643-1992 Plane 1 */
93+ #define LC_CNS11643_2 0x96 /* CNS 11643-1992 Plane 2 */
94+ /* #define FREE 0x97 free (unused) */
95+ #define LC_BIG5_1 0x98 /* Plane 1 Chinese traditional (not supported) */
96+ #define LC_BIG5_2 0x99 /* Plane 1 Chinese traditional (not supported) */
9797
9898/*
9999 * Private single byte encodings (0xa0-0xef)
100100 */
101- #define LC_SISHENG 0xa0 /* Chinese SiSheng characters for
101+ #define LC_SISHENG 0xa0 /* Chinese SiSheng characters for
102102 * PinYin/ZhuYin (not supported) */
103- #define LC_IPA 0xa1 /* IPA (International Phonetic Association)
103+ #define LC_IPA 0xa1 /* IPA (International Phonetic Association)
104104 * (not supported) */
105- #define LC_VISCII_LOWER 0xa2 /* Vietnamese VISCII1.1 lower-case (not
105+ #define LC_VISCII_LOWER 0xa2 /* Vietnamese VISCII1.1 lower-case (not
106106 * supported) */
107- #define LC_VISCII_UPPER 0xa3 /* Vietnamese VISCII1.1 upper-case (not
107+ #define LC_VISCII_UPPER 0xa3 /* Vietnamese VISCII1.1 upper-case (not
108108 * supported) */
109- #define LC_ARABIC_DIGIT 0xa4 /* Arabic digit (not supported) */
109+ #define LC_ARABIC_DIGIT 0xa4 /* Arabic digit (not supported) */
110110#define LC_ARABIC_1_COLUMN 0xa5 /* Arabic 1-column (not supported) */
111111#define LC_ASCII_RIGHT_TO_LEFT 0xa6 /* ASCII (left half of ISO8859-1) with
112112 * right-to-left direction (not
113113 * supported) */
114- #define LC_LAO 0xa7 /* Lao characters (ISO10646 0E80..0EDF) (not
114+ #define LC_LAO 0xa7 /* Lao characters (ISO10646 0E80..0EDF) (not
115115 * supported) */
116116#define LC_ARABIC_2_COLUMN 0xa8 /* Arabic 1-column (not supported) */
117117
@@ -121,18 +121,18 @@ typedef unsigned int pg_wchar;
121121#define LC_INDIAN_1_COLUMN 0xf0/* Indian charset for 1-column width glypps
122122 * (not supported) */
123123#define LC_TIBETAN_1_COLUMN 0xf1 /* Tibetan 1 column glyph (not supported) */
124- #define LC_ETHIOPIC 0xf5 /* Ethiopic characters (not supported) */
125- #define LC_CNS11643_3 0xf6 /* CNS 11643-1992 Plane 3 */
126- #define LC_CNS11643_4 0xf7 /* CNS 11643-1992 Plane 4 */
127- #define LC_CNS11643_5 0xf8 /* CNS 11643-1992 Plane 5 */
128- #define LC_CNS11643_6 0xf9 /* CNS 11643-1992 Plane 6 */
129- #define LC_CNS11643_7 0xfa /* CNS 11643-1992 Plane 7 */
124+ #define LC_ETHIOPIC 0xf5 /* Ethiopic characters (not supported) */
125+ #define LC_CNS11643_3 0xf6 /* CNS 11643-1992 Plane 3 */
126+ #define LC_CNS11643_4 0xf7 /* CNS 11643-1992 Plane 4 */
127+ #define LC_CNS11643_5 0xf8 /* CNS 11643-1992 Plane 5 */
128+ #define LC_CNS11643_6 0xf9 /* CNS 11643-1992 Plane 6 */
129+ #define LC_CNS11643_7 0xfa /* CNS 11643-1992 Plane 7 */
130130#define LC_INDIAN_2_COLUMN 0xfb/* Indian charset for 2-column width glypps
131131 * (not supported) */
132- #define LC_TIBETAN 0xfc /* Tibetan (not supported) */
133- /* #define FREE 0xfd free (unused) */
134- /* #define FREE 0xfe free (unused) */
135- /* #define FREE 0xff free (unused) */
132+ #define LC_TIBETAN 0xfc /* Tibetan (not supported) */
133+ /* #define FREE 0xfd free (unused) */
134+ /* #define FREE 0xfe free (unused) */
135+ /* #define FREE 0xff free (unused) */
136136
137137/*
138138 * Encoding numeral identificators
0 commit comments