字符串,ASCII、UNICODE码,子元(符)集,字体 |
1,字符串是字符数组。 aj8Gpn http://blog.numino.net/ 2,字符分ASCII字符,UNICODE字符,多字节字符三种。 8br3vJ http://blog.numino.net/ 3,字元集分: PQ1N0y http://blog.numino.net/ 波罗的海语系、中欧语系、斯拉夫语系、希腊语系和土耳其语系,西欧(ANSI)字元集、远东语言(汉语、日语和朝鲜语) 8f6l9N http://blog.numino.net/ WINGDI.H中定义的子元集ID有: wGv3SG http://blog.numino.net/ define ANSI_CHARSET 0 // 1252 Latin 1 (ANSI) s5nyw9 http://blog.numino.net/ #define DEFAULT_CHARSET 1 EJpDK8 http://blog.numino.net/ #define SYMBOL_CHARSET 2 lZVe6G http://blog.numino.net/ #define MAC_CHARSET 77 RlMCr2 http://blog.numino.net/ #define SHIFTJIS_CHARSET 128 // 932 (DBCS, 日本) 4j65G5 http://blog.numino.net/ #define HANGEUL_CHARSET 129 // 949 (DBCS, 韩文) m9ELlR http://blog.numino.net/ #define HANGUL_CHARSET 129 // " " yEUtLv http://blog.numino.net/ #define JOHAB_CHARSET 130 // 1361 (DBCS, 韩文) 894vdV http://blog.numino.net/ #define GB2312_CHARSET 134 // 936 (DBCS, 简体中文) 3D5RPq http://blog.numino.net/ #define CHINESEBIG5_CHARSET 136 // 950 (DBCS, 繁体中文) 88gNT8 http://blog.numino.net/ #define GREEK_CHARSET 161 // 1253希腊文 CSeGT6 http://blog.numino.net/ #define TURKISH_CHARSET 162 // 1254 Latin 5 (土耳其文) ZEeJSq http://blog.numino.net/ #define VIETNAMESE_CHARSET 163 // 1258越南文 fOvTBB http://blog.numino.net/ #define HEBREW_CHARSET 177 // 1255希伯来文 0lxj0V http://blog.numino.net/ #define ARABIC_CHARSET 178 // 1256阿拉伯文 Z8069m http://blog.numino.net/ #define BALTIC_CHARSET 186 // 1257波罗的海字集 Xsj4M1 http://blog.numino.net/ #define RUSSIAN_CHARSET 204 // 1251俄文 (斯拉夫语系) yY41O9 http://blog.numino.net/ #define THAI_CHARSET 222 // 874泰文 2A62yP http://blog.numino.net/ #define EASTEUROPE_CHARSET 238 // 1250 Latin 2 (中欧语系) 0NLL13 http://blog.numino.net/ #define OEM_CHARSET 255 // 地区自订 ObHLQW http://blog.numino.net/ 4,字体是对字符的不同显示 S6T24O http://blog.numino.net/ 问题1: 5vzwhS http://blog.numino.net/ 字符分ASCII字符,UNICODE字符,多字节字符三种外, WHN4L2 http://blog.numino.net/ 不同的字元集对应不同的字符吗。(或者说字符和字元集的关系) 97i90o http://blog.numino.net/ 问题2: HE749Z http://blog.numino.net/ 字符与字元集,某个值(内存值)的字符在不同的字元集下表示的字符是不同的吗?
|
|