* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
_CTYPE_DATA_128_256. * libc/ctype/ctype_cp.h: Split off all character class values for character 255 from the rest of the definitions. (__ctype_cp): Use the new definitions. Make sure that the table always contains 0 for EOF (-1). * libc/ctype/ctype_iso.h: Ditto.
This commit is contained in:
parent
161e368ac4
commit
c28545227a
|
@ -1,3 +1,13 @@
|
|||
2009-04-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
|
||||
_CTYPE_DATA_128_256.
|
||||
* libc/ctype/ctype_cp.h: Split off all character class values for
|
||||
character 255 from the rest of the definitions.
|
||||
(__ctype_cp): Use the new definitions. Make sure that the table
|
||||
always contains 0 for EOF (-1).
|
||||
* libc/ctype/ctype_iso.h: Ditto.
|
||||
|
||||
2009-04-21 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
|
||||
|
|
|
@ -55,7 +55,7 @@ static char sccsid[] = "@(#)ctype_.c 5.6 (Berkeley) 6/1/90";
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _P, _P, _P, _P, _C
|
||||
|
||||
#define _CTYPE_DATA_128_256 \
|
||||
#define _CTYPE_DATA_128_255 \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
|
@ -93,9 +93,9 @@ static char sccsid[] = "@(#)ctype_.c 5.6 (Berkeley) 6/1/90";
|
|||
static _CONST
|
||||
#endif
|
||||
char _ctype_b[128 + 256] = {
|
||||
_CTYPE_DATA_128_256,
|
||||
_CTYPE_DATA_128_255,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_DATA_128_256
|
||||
_CTYPE_DATA_128_255
|
||||
};
|
||||
|
||||
#ifndef _MB_CAPABLE
|
||||
|
@ -117,7 +117,7 @@ __asm__ (" \n\
|
|||
_CONST char _ctype_[1 + 256] = {
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_DATA_128_256
|
||||
_CTYPE_DATA_128_255
|
||||
};
|
||||
# endif /* !__CYGWIN__ */
|
||||
|
||||
|
@ -126,7 +126,7 @@ _CONST char _ctype_[1 + 256] = {
|
|||
_CONST char _ctype_[1 + 256] = {
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_DATA_128_256
|
||||
_CTYPE_DATA_128_255
|
||||
};
|
||||
|
||||
#ifndef _MB_CAPABLE
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* ctype table definitions for Windows codepage charsets.
|
||||
Included by ctype_.c. */
|
||||
|
||||
#define _CTYPE_CP437_128_256 \
|
||||
#define _CTYPE_CP437_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _U, _U, \
|
||||
_U, _L, _U, _L, _L, _L, _L, _L, \
|
||||
|
@ -17,8 +17,9 @@
|
|||
_L, _L, _U, _L, _U, _L, _P, _L, \
|
||||
_U, _U, _U, _L, _P, _L, _L, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP720_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP437_255 _S|_B
|
||||
#define _CTYPE_CP720_128_254 \
|
||||
0, 0, _L, _L, 0, _L, 0, _L, \
|
||||
_L, _L, _L, _L, _L, 0, 0, 0, \
|
||||
0, _P, _P, _L, _P, _P, _L, _L, \
|
||||
|
@ -34,8 +35,9 @@
|
|||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP737_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP720_255 _S|_B
|
||||
#define _CTYPE_CP737_128_254 \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
|
@ -51,8 +53,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _P, _P, _P, _U, _U, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP775_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP737_255 _S|_B
|
||||
#define _CTYPE_CP775_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _U, _L, _L, _U, _U, _U, \
|
||||
_U, _L, _U, _L, _L, _U, _P, _U, \
|
||||
|
@ -68,8 +71,9 @@
|
|||
_U, _L, _U, _U, _L, _U, _P, _L, \
|
||||
_U, _L, _U, _L, _L, _U, _U, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP850_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP775_255 _S|_B
|
||||
#define _CTYPE_CP850_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _U, _U, \
|
||||
_U, _L, _U, _L, _L, _L, _L, _L, \
|
||||
|
@ -85,8 +89,9 @@
|
|||
_U, _L, _U, _U, _L, _U, _P, _L, \
|
||||
_U, _U, _U, _U, _L, _U, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP852_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP850_255 _S|_B
|
||||
#define _CTYPE_CP852_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _U, _L, _L, _U, _U, _U, \
|
||||
_U, _U, _L, _L, _L, _U, _L, _U, \
|
||||
|
@ -102,8 +107,9 @@
|
|||
_U, _L, _U, _U, _L, _L, _U, _L, \
|
||||
_U, _U, _L, _U, _L, _U, _L, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _L, _U, _L, _P, _S|_B
|
||||
#define _CTYPE_CP855_128_256 \
|
||||
_P, _P, _P, _L, _U, _L, _P
|
||||
#define _CTYPE_CP852_255 _S|_B
|
||||
#define _CTYPE_CP855_128_254 \
|
||||
_L, _U, _L, _U, _L, _U, _L, _U, \
|
||||
_L, _U, _L, _U, _L, _U, _L, _U, \
|
||||
_L, _U, _L, _U, _L, _U, _L, _U, \
|
||||
|
@ -119,8 +125,9 @@
|
|||
_U, _L, _U, _L, _U, _L, _U, _L, \
|
||||
_U, _L, _U, _L, _U, _L, _U, _P, \
|
||||
_P, _L, _U, _L, _U, _L, _U, _L, \
|
||||
_U, _L, _U, _L, _U, _P, _P, _S|_B
|
||||
#define _CTYPE_CP857_128_256 \
|
||||
_U, _L, _U, _L, _U, _P, _P
|
||||
#define _CTYPE_CP855_255 _S|_B
|
||||
#define _CTYPE_CP857_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _U, _U, \
|
||||
_U, _L, _U, _L, _L, _L, _L, _L, \
|
||||
|
@ -136,8 +143,9 @@
|
|||
_U, _L, _U, _U, _L, _U, _P, 0, \
|
||||
_P, _U, _U, _U, _L, _L, _P, _P, \
|
||||
_P, _P, 0, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP858_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP857_255 _S|_B
|
||||
#define _CTYPE_CP858_128_254 \
|
||||
_U, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _U, _U, \
|
||||
_U, _L, _U, _L, _L, _L, _L, _L, \
|
||||
|
@ -153,8 +161,9 @@
|
|||
_U, _L, _U, _U, _L, _U, _P, _L, \
|
||||
_U, _U, _U, _U, _L, _U, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP862_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP858_255 _S|_B
|
||||
#define _CTYPE_CP862_128_254 \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
|
@ -170,8 +179,9 @@
|
|||
_L, _L, _U, _L, _U, _L, _P, _L, \
|
||||
_U, _U, _U, _L, _P, _L, _L, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP866_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP862_255 _S|_B
|
||||
#define _CTYPE_CP866_128_254 \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
|
@ -187,8 +197,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_U, _L, _U, _L, _U, _L, _U, _L, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP874_128_256 \
|
||||
_P, _P, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP866_255 _S|_B
|
||||
#define _CTYPE_CP874_128_254 \
|
||||
_P, 0, 0, 0, 0, _P, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -204,8 +215,9 @@
|
|||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _U|_L, _U|_L, 0, 0, 0, 0
|
||||
#define _CTYPE_CP1125_128_256 \
|
||||
_P, _P, _U|_L, _U|_L, 0, 0, 0
|
||||
#define _CTYPE_CP874_255 0
|
||||
#define _CTYPE_CP1125_128_254 \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
_U, _U, _U, _U, _U, _U, _U, _U, \
|
||||
|
@ -221,8 +233,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_U, _L, _U, _L, _U, _L, _U, _L, \
|
||||
_U, _L, _P, _P, _P, _P, _P, _S|_B
|
||||
#define _CTYPE_CP1250_128_256 \
|
||||
_U, _L, _P, _P, _P, _P, _P
|
||||
#define _CTYPE_CP1125_255 _S|_B
|
||||
#define _CTYPE_CP1250_128_254 \
|
||||
_P, 0, _P, 0, _P, _P, _P, _P, \
|
||||
0, _P, _U, _P, _U, _U, _U, _U, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -238,8 +251,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_CP1251_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1250_255 _P
|
||||
#define _CTYPE_CP1251_128_254 \
|
||||
_U, _U, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, _U, _P, _U, _U, _U, _U, \
|
||||
_L, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -255,8 +269,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1252_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1251_255 _L
|
||||
#define _CTYPE_CP1252_128_254 \
|
||||
_P, 0, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, _U, _P, _U, _U, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -272,8 +287,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1253_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1252_255 _L
|
||||
#define _CTYPE_CP1253_128_254 \
|
||||
_P, 0, _P, _L, _P, _P, _P, _P, \
|
||||
0, _P, 0, _P, 0, 0, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -289,8 +305,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1254_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1253_255 _L
|
||||
#define _CTYPE_CP1254_128_254 \
|
||||
_P, 0, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, _U, _P, _U, 0, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -306,8 +323,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1255_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1254_255 _L
|
||||
#define _CTYPE_CP1255_128_254 \
|
||||
_P, 0, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, 0, _P, 0, 0, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -323,8 +341,9 @@
|
|||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, 0, 0, _P, _P, 0
|
||||
#define _CTYPE_CP1256_128_256 \
|
||||
_U|_L, _U|_L, _U|_L, 0, 0, _P, _P
|
||||
#define _CTYPE_CP1255_255 0
|
||||
#define _CTYPE_CP1256_128_254 \
|
||||
_P, _U|_L, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, _U|_L, _P, _U, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -340,8 +359,9 @@
|
|||
_L, _U|_L, _L, _U|_L, _U|_L, _U|_L, _U|_L, _L, \
|
||||
_L, _L, _L, _L, _U|_L, _U|_L, _L, _L, \
|
||||
_P, _P, _P, _P, _L, _P, _P, _P, \
|
||||
_P, _L, _P, _L, _L, _P, _P, _U|_L
|
||||
#define _CTYPE_CP1257_128_256 \
|
||||
_P, _L, _P, _L, _L, _P, _P
|
||||
#define _CTYPE_CP1256_255 _U|_L
|
||||
#define _CTYPE_CP1257_128_254 \
|
||||
_P, 0, _P, 0, _P, _P, _P, _P, \
|
||||
0, _P, 0, _P, 0, _P, _P, _P, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -357,8 +377,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_CP1258_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_CP1257_255 _P
|
||||
#define _CTYPE_CP1258_128_254 \
|
||||
_P, 0, _P, _L, _P, _P, _P, _P, \
|
||||
_P, _P, 0, _P, _U, 0, 0, 0, \
|
||||
0, _P, _P, _P, _P, _P, _P, _P, \
|
||||
|
@ -374,7 +395,8 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _P, _L, _L, _L, \
|
||||
_L, _L, _P, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _P, _L
|
||||
_L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_CP1258_255 _L
|
||||
|
||||
extern int __cp_index (const char *charset_ext);
|
||||
|
||||
|
@ -384,93 +406,137 @@ extern int __cp_index (const char *charset_ext);
|
|||
static _CONST
|
||||
#endif
|
||||
char __ctype_cp[22][128 + 256] = {
|
||||
{ _CTYPE_CP437_128_256,
|
||||
{ _CTYPE_CP437_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP437_128_256
|
||||
_CTYPE_CP437_128_254,
|
||||
_CTYPE_CP437_255
|
||||
},
|
||||
{ _CTYPE_CP720_128_256,
|
||||
{ _CTYPE_CP720_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP720_128_256
|
||||
_CTYPE_CP720_128_254,
|
||||
_CTYPE_CP720_255
|
||||
},
|
||||
{ _CTYPE_CP737_128_256,
|
||||
{ _CTYPE_CP737_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP737_128_256
|
||||
_CTYPE_CP737_128_254,
|
||||
_CTYPE_CP737_255
|
||||
},
|
||||
{ _CTYPE_CP775_128_256,
|
||||
{ _CTYPE_CP775_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP775_128_256
|
||||
_CTYPE_CP775_128_254,
|
||||
_CTYPE_CP775_255
|
||||
},
|
||||
{ _CTYPE_CP850_128_256,
|
||||
{ _CTYPE_CP850_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP850_128_256
|
||||
_CTYPE_CP850_128_254,
|
||||
_CTYPE_CP850_255
|
||||
},
|
||||
{ _CTYPE_CP852_128_256,
|
||||
{ _CTYPE_CP852_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP852_128_256
|
||||
_CTYPE_CP852_128_254,
|
||||
_CTYPE_CP852_255
|
||||
},
|
||||
{ _CTYPE_CP855_128_256,
|
||||
{ _CTYPE_CP855_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP855_128_256
|
||||
_CTYPE_CP855_128_254,
|
||||
_CTYPE_CP855_255
|
||||
},
|
||||
{ _CTYPE_CP857_128_256,
|
||||
{ _CTYPE_CP857_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP857_128_256
|
||||
_CTYPE_CP857_128_254,
|
||||
_CTYPE_CP857_255
|
||||
},
|
||||
{ _CTYPE_CP858_128_256,
|
||||
{ _CTYPE_CP858_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP858_128_256
|
||||
_CTYPE_CP858_128_254,
|
||||
_CTYPE_CP858_255
|
||||
},
|
||||
{ _CTYPE_CP862_128_256,
|
||||
{ _CTYPE_CP862_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP862_128_256
|
||||
_CTYPE_CP862_128_254,
|
||||
_CTYPE_CP862_255
|
||||
},
|
||||
{ _CTYPE_CP866_128_256,
|
||||
{ _CTYPE_CP866_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP866_128_256
|
||||
_CTYPE_CP866_128_254,
|
||||
_CTYPE_CP866_255
|
||||
},
|
||||
{ _CTYPE_CP874_128_256,
|
||||
{ _CTYPE_CP874_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP874_128_256
|
||||
_CTYPE_CP874_128_254,
|
||||
_CTYPE_CP874_255
|
||||
},
|
||||
{ _CTYPE_CP1125_128_256,
|
||||
{ _CTYPE_CP1125_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1125_128_256
|
||||
_CTYPE_CP1125_128_254,
|
||||
_CTYPE_CP1125_255
|
||||
},
|
||||
{ _CTYPE_CP1250_128_256,
|
||||
{ _CTYPE_CP1250_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1250_128_256
|
||||
_CTYPE_CP1250_128_254,
|
||||
_CTYPE_CP1250_255
|
||||
},
|
||||
{ _CTYPE_CP1251_128_256,
|
||||
{ _CTYPE_CP1251_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1251_128_256
|
||||
_CTYPE_CP1251_128_254,
|
||||
_CTYPE_CP1251_255
|
||||
},
|
||||
{ _CTYPE_CP1252_128_256,
|
||||
{ _CTYPE_CP1252_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1252_128_256
|
||||
_CTYPE_CP1252_128_254,
|
||||
_CTYPE_CP1252_255
|
||||
},
|
||||
{ _CTYPE_CP1253_128_256,
|
||||
{ _CTYPE_CP1253_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1253_128_256
|
||||
_CTYPE_CP1253_128_254,
|
||||
_CTYPE_CP1253_255
|
||||
},
|
||||
{ _CTYPE_CP1254_128_256,
|
||||
{ _CTYPE_CP1254_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1254_128_256
|
||||
_CTYPE_CP1254_128_254,
|
||||
_CTYPE_CP1254_255
|
||||
},
|
||||
{ _CTYPE_CP1255_128_256,
|
||||
{ _CTYPE_CP1255_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1255_128_256
|
||||
_CTYPE_CP1255_128_254,
|
||||
_CTYPE_CP1255_255
|
||||
},
|
||||
{ _CTYPE_CP1256_128_256,
|
||||
{ _CTYPE_CP1256_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1256_128_256
|
||||
_CTYPE_CP1256_128_254,
|
||||
_CTYPE_CP1256_255
|
||||
},
|
||||
{ _CTYPE_CP1257_128_256,
|
||||
{ _CTYPE_CP1257_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1257_128_256
|
||||
_CTYPE_CP1257_128_254,
|
||||
_CTYPE_CP1257_255
|
||||
},
|
||||
{ _CTYPE_CP1258_128_256,
|
||||
{ _CTYPE_CP1258_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1258_128_256
|
||||
_CTYPE_CP1258_128_254,
|
||||
_CTYPE_CP1258_255
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -479,91 +545,113 @@ char __ctype_cp[22][128 + 256] = {
|
|||
static _CONST char __ctype_cp[22][1 + 256] = {
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP437_128_256
|
||||
_CTYPE_CP437_128_254,
|
||||
_CTYPE_CP437_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP720_128_256
|
||||
_CTYPE_CP720_128_254,
|
||||
_CTYPE_CP720_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP737_128_256
|
||||
_CTYPE_CP737_128_254,
|
||||
_CTYPE_CP737_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP775_128_256
|
||||
_CTYPE_CP775_128_254,
|
||||
_CTYPE_CP775_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP850_128_256
|
||||
_CTYPE_CP850_128_254,
|
||||
_CTYPE_CP850_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP852_128_256
|
||||
_CTYPE_CP852_128_254,
|
||||
_CTYPE_CP852_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP855_128_256
|
||||
_CTYPE_CP855_128_254,
|
||||
_CTYPE_CP855_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP857_128_256
|
||||
_CTYPE_CP857_128_254,
|
||||
_CTYPE_CP857_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP858_128_256
|
||||
_CTYPE_CP858_128_254,
|
||||
_CTYPE_CP858_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP862_128_256
|
||||
_CTYPE_CP862_128_254,
|
||||
_CTYPE_CP862_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP866_128_256
|
||||
_CTYPE_CP866_128_254,
|
||||
_CTYPE_CP866_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP874_128_256
|
||||
_CTYPE_CP874_128_254,
|
||||
_CTYPE_CP874_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1125_128_256
|
||||
_CTYPE_CP1125_128_254,
|
||||
_CTYPE_CP1125_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1250_128_256
|
||||
_CTYPE_CP1250_128_254,
|
||||
_CTYPE_CP1250_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1251_128_256
|
||||
_CTYPE_CP1251_128_254,
|
||||
_CTYPE_CP1251_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1252_128_256
|
||||
_CTYPE_CP1252_128_254,
|
||||
_CTYPE_CP1252_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1253_128_256
|
||||
_CTYPE_CP1253_128_254,
|
||||
_CTYPE_CP1253_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1254_128_256
|
||||
_CTYPE_CP1254_128_254,
|
||||
_CTYPE_CP1254_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1255_128_256
|
||||
_CTYPE_CP1255_128_254,
|
||||
_CTYPE_CP1255_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1256_128_256
|
||||
_CTYPE_CP1256_128_254,
|
||||
_CTYPE_CP1256_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1257_128_256
|
||||
_CTYPE_CP1257_128_254,
|
||||
_CTYPE_CP1257_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_CP1258_128_256
|
||||
_CTYPE_CP1258_128_254,
|
||||
_CTYPE_CP1258_255
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* ctype table definitions for ISO-8859-x charsets.
|
||||
Included by ctype_.c. */
|
||||
|
||||
#define _CTYPE_ISO_8859_1_128_256 \
|
||||
#define _CTYPE_ISO_8859_1_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -17,8 +17,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_2_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_1_255 _L
|
||||
#define _CTYPE_ISO_8859_2_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -34,8 +35,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_ISO_8859_3_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_2_255 _P
|
||||
#define _CTYPE_ISO_8859_3_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -51,8 +53,9 @@
|
|||
_L, _L, _L, 0, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
0, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_ISO_8859_4_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_3_255 _P
|
||||
#define _CTYPE_ISO_8859_4_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -68,8 +71,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_5_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_4_255 _L
|
||||
#define _CTYPE_ISO_8859_5_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -85,8 +89,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_P, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _P, _L, _L
|
||||
#define _CTYPE_ISO_8859_6_128_256 \
|
||||
_L, _L, _L, _L, _L, _P, _L
|
||||
#define _CTYPE_ISO_8859_5_255 _L
|
||||
#define _CTYPE_ISO_8859_6_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -102,8 +107,9 @@
|
|||
_P, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _P, _P, _P, _P, _P, \
|
||||
_P, _P, _P, 0, 0, 0, 0, 0, \
|
||||
0, 0, 0, 0, 0, 0, 0, 0
|
||||
#define _CTYPE_ISO_8859_7_128_256 \
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
#define _CTYPE_ISO_8859_6_255 0
|
||||
#define _CTYPE_ISO_8859_7_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -119,8 +125,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, 0
|
||||
#define _CTYPE_ISO_8859_8_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_7_255 0
|
||||
#define _CTYPE_ISO_8859_8_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -136,8 +143,9 @@
|
|||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, 0, 0, _P, _P, 0
|
||||
#define _CTYPE_ISO_8859_9_128_256 \
|
||||
_U|_L, _U|_L, _U|_L, 0, 0, _P, _P
|
||||
#define _CTYPE_ISO_8859_8_255 0
|
||||
#define _CTYPE_ISO_8859_9_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -153,8 +161,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_10_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_9_255 _L
|
||||
#define _CTYPE_ISO_8859_10_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -170,8 +179,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_11_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_10_255 _L
|
||||
#define _CTYPE_ISO_8859_11_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -187,8 +197,9 @@
|
|||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, \
|
||||
_P, _P, _P, _P, _P, _P, _P, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, 0, 0, 0, 0
|
||||
#define _CTYPE_ISO_8859_13_128_256 \
|
||||
_U|_L, _U|_L, _U|_L, _U|_L, 0, 0, 0
|
||||
#define _CTYPE_ISO_8859_11_255 0
|
||||
#define _CTYPE_ISO_8859_13_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -204,8 +215,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P
|
||||
#define _CTYPE_ISO_8859_14_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_13_255 _P
|
||||
#define _CTYPE_ISO_8859_14_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -221,8 +233,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_15_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_14_255 _L
|
||||
#define _CTYPE_ISO_8859_15_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -238,8 +251,9 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _P, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_16_128_256 \
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_15_255 _L
|
||||
#define _CTYPE_ISO_8859_16_128_254 \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
_C, _C, _C, _C, _C, _C, _C, _C, \
|
||||
|
@ -255,7 +269,8 @@
|
|||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L, \
|
||||
_L, _L, _L, _L, _L, _L, _L, _L
|
||||
_L, _L, _L, _L, _L, _L, _L
|
||||
#define _CTYPE_ISO_8859_16_255 _L
|
||||
|
||||
extern int __iso_8859_index (const char *charset_ext);
|
||||
|
||||
|
@ -265,65 +280,95 @@ extern int __iso_8859_index (const char *charset_ext);
|
|||
static _CONST
|
||||
#endif
|
||||
char __ctype_iso[15][128 + 256] = {
|
||||
{ _CTYPE_ISO_8859_1_128_256,
|
||||
{ _CTYPE_ISO_8859_1_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_1_128_256
|
||||
_CTYPE_ISO_8859_1_128_254,
|
||||
_CTYPE_ISO_8859_1_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_2_128_256,
|
||||
{ _CTYPE_ISO_8859_2_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_2_128_256
|
||||
_CTYPE_ISO_8859_2_128_254,
|
||||
_CTYPE_ISO_8859_2_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_3_128_256,
|
||||
{ _CTYPE_ISO_8859_3_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_3_128_256
|
||||
_CTYPE_ISO_8859_3_128_254,
|
||||
_CTYPE_ISO_8859_3_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_4_128_256,
|
||||
{ _CTYPE_ISO_8859_4_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_4_128_256
|
||||
_CTYPE_ISO_8859_4_128_254,
|
||||
_CTYPE_ISO_8859_4_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_5_128_256,
|
||||
{ _CTYPE_ISO_8859_5_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_5_128_256
|
||||
_CTYPE_ISO_8859_5_128_254,
|
||||
_CTYPE_ISO_8859_5_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_6_128_256,
|
||||
{ _CTYPE_ISO_8859_6_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_6_128_256
|
||||
_CTYPE_ISO_8859_6_128_254,
|
||||
_CTYPE_ISO_8859_6_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_7_128_256,
|
||||
{ _CTYPE_ISO_8859_7_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_7_128_256
|
||||
_CTYPE_ISO_8859_7_128_254,
|
||||
_CTYPE_ISO_8859_7_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_8_128_256,
|
||||
{ _CTYPE_ISO_8859_8_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_8_128_256
|
||||
_CTYPE_ISO_8859_8_128_254,
|
||||
_CTYPE_ISO_8859_8_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_9_128_256,
|
||||
{ _CTYPE_ISO_8859_9_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_9_128_256
|
||||
_CTYPE_ISO_8859_9_128_254,
|
||||
_CTYPE_ISO_8859_9_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_10_128_256,
|
||||
{ _CTYPE_ISO_8859_10_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_10_128_256
|
||||
_CTYPE_ISO_8859_10_128_254,
|
||||
_CTYPE_ISO_8859_10_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_11_128_256,
|
||||
{ _CTYPE_ISO_8859_11_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_11_128_256
|
||||
_CTYPE_ISO_8859_11_128_254,
|
||||
_CTYPE_ISO_8859_11_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_13_128_256,
|
||||
{ _CTYPE_ISO_8859_13_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_13_128_256
|
||||
_CTYPE_ISO_8859_13_128_254,
|
||||
_CTYPE_ISO_8859_13_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_14_128_256,
|
||||
{ _CTYPE_ISO_8859_14_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_14_128_256
|
||||
_CTYPE_ISO_8859_14_128_254,
|
||||
_CTYPE_ISO_8859_14_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_15_128_256,
|
||||
{ _CTYPE_ISO_8859_15_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_15_128_256
|
||||
_CTYPE_ISO_8859_15_128_254,
|
||||
_CTYPE_ISO_8859_15_255
|
||||
},
|
||||
{ _CTYPE_ISO_8859_16_128_256,
|
||||
{ _CTYPE_ISO_8859_16_128_254,
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_16_128_256
|
||||
_CTYPE_ISO_8859_16_128_254,
|
||||
_CTYPE_ISO_8859_16_255
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -332,63 +377,78 @@ char __ctype_iso[15][128 + 256] = {
|
|||
static _CONST char __ctype_iso[15][1 + 256] = {
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_1_128_256
|
||||
_CTYPE_ISO_8859_1_128_254,
|
||||
_CTYPE_ISO_8859_1_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_2_128_256
|
||||
_CTYPE_ISO_8859_2_128_254,
|
||||
_CTYPE_ISO_8859_2_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_3_128_256
|
||||
_CTYPE_ISO_8859_3_128_254,
|
||||
_CTYPE_ISO_8859_3_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_4_128_256
|
||||
_CTYPE_ISO_8859_4_128_254,
|
||||
_CTYPE_ISO_8859_4_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_5_128_256
|
||||
_CTYPE_ISO_8859_5_128_254,
|
||||
_CTYPE_ISO_8859_5_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_6_128_256
|
||||
_CTYPE_ISO_8859_6_128_254,
|
||||
_CTYPE_ISO_8859_6_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_7_128_256
|
||||
_CTYPE_ISO_8859_7_128_254,
|
||||
_CTYPE_ISO_8859_7_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_8_128_256
|
||||
_CTYPE_ISO_8859_8_128_254,
|
||||
_CTYPE_ISO_8859_8_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_9_128_256
|
||||
_CTYPE_ISO_8859_9_128_254,
|
||||
_CTYPE_ISO_8859_9_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_10_128_256
|
||||
_CTYPE_ISO_8859_10_128_254,
|
||||
_CTYPE_ISO_8859_10_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_11_128_256
|
||||
_CTYPE_ISO_8859_11_128_254,
|
||||
_CTYPE_ISO_8859_11_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_13_128_256
|
||||
_CTYPE_ISO_8859_13_128_254,
|
||||
_CTYPE_ISO_8859_13_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_14_128_256
|
||||
_CTYPE_ISO_8859_14_128_254,
|
||||
_CTYPE_ISO_8859_14_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_15_128_256
|
||||
_CTYPE_ISO_8859_15_128_254,
|
||||
_CTYPE_ISO_8859_15_255
|
||||
},
|
||||
{ 0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_ISO_8859_16_128_256
|
||||
_CTYPE_ISO_8859_16_128_254,
|
||||
_CTYPE_ISO_8859_16_255
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue