| 字符串,ASCII、UNICODE码,子元(符)集,字体 |
1,字符串是字符数组。 30DiN5 http://blog.numino.net/ 2,字符分ASCII字符,UNICODE字符,多字节字符三种。 URjF7n http://blog.numino.net/ 3,字元集分: 9y5n5b http://blog.numino.net/ 波罗的海语系、中欧语系、斯拉夫语系、希腊语系和土耳其语系,西欧(ANSI)字元集、远东语言(汉语、日语和朝鲜语) 5gWRhs http://blog.numino.net/ WINGDI.H中定义的子元集ID有: 63t2MK http://blog.numino.net/ define ANSI_CHARSET 0 // 1252 Latin 1 (ANSI) c9x054 http://blog.numino.net/ #define DEFAULT_CHARSET 1 40PfIy http://blog.numino.net/ #define SYMBOL_CHARSET 2 hl0YQG http://blog.numino.net/ #define MAC_CHARSET 77 gy6TyA http://blog.numino.net/ #define SHIFTJIS_CHARSET 128 // 932 (DBCS, 日本) zM8S2Y http://blog.numino.net/ #define HANGEUL_CHARSET 129 // 949 (DBCS, 韩文) TJYaGc http://blog.numino.net/ #define HANGUL_CHARSET 129 // " " 3w49B3 http://blog.numino.net/ #define JOHAB_CHARSET 130 // 1361 (DBCS, 韩文) BERH3L http://blog.numino.net/ #define GB2312_CHARSET 134 // 936 (DBCS, 简体中文) 9sP69m http://blog.numino.net/ #define CHINESEBIG5_CHARSET 136 // 950 (DBCS, 繁体中文) 6EEJtW http://blog.numino.net/ #define GREEK_CHARSET 161 // 1253希腊文 EXCZN3 http://blog.numino.net/ #define TURKISH_CHARSET 162 // 1254 Latin 5 (土耳其文) QeflVs http://blog.numino.net/ #define VIETNAMESE_CHARSET 163 // 1258越南文 9h3DnP http://blog.numino.net/ #define HEBREW_CHARSET 177 // 1255希伯来文 05aeW3 http://blog.numino.net/ #define ARABIC_CHARSET 178 // 1256阿拉伯文 9zE76M http://blog.numino.net/ #define BALTIC_CHARSET 186 // 1257波罗的海字集 DgeYFW http://blog.numino.net/ #define RUSSIAN_CHARSET 204 // 1251俄文 (斯拉夫语系) pfsEXi http://blog.numino.net/ #define THAI_CHARSET 222 // 874泰文 D1bTYh http://blog.numino.net/ #define EASTEUROPE_CHARSET 238 // 1250 Latin 2 (中欧语系) 14E7Pk http://blog.numino.net/ #define OEM_CHARSET 255 // 地区自订 PR5F9d http://blog.numino.net/ 4,字体是对字符的不同显示 Un661e http://blog.numino.net/ 问题1: EnZU8s http://blog.numino.net/ 字符分ASCII字符,UNICODE字符,多字节字符三种外, u7s14C http://blog.numino.net/ 不同的字元集对应不同的字符吗。(或者说字符和字元集的关系) u9045P http://blog.numino.net/ 问题2: F8bZwB http://blog.numino.net/ 字符与字元集,某个值(内存值)的字符在不同的字元集下表示的字符是不同的吗?
|
|