1 typedef unsigned long UTF32; /* at least 32 bits */ 2 typedef unsigned short UTF16; /* at least 16 bits */ 3 typedef unsigned short UCS2; /* at least 16 bits */ 4 typedef unsigned char UTF8; /* 8 bits */ 5 typedef unsigned char Boolean; /* 0 or 1 */ 6 7 #define UNI_MAX_ASCII (UTF32)0x0000007F 8 #define UNI_MAX_BMP (UTF32)0x0000FFFF 9 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 10 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 11 #define UNI_SUR_HIGH_START (UTF32)0xD800 12 #define UNI_SUR_HIGH_END (UTF32)0xDBFF 13 #define UNI_SUR_LOW_START (UTF32)0xDC00 14 #define UNI_SUR_LOW_END (UTF32)0xDFFF 15 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 16 #define _UNICODE_POSER 17