字符串,ASCII、UNICODE码,子元(符)集,字体 |
1,字符串是字符数组。 6eknsX http://blog.numino.net/ 2,字符分ASCII字符,UNICODE字符,多字节字符三种。 Ix48iv http://blog.numino.net/ 3,字元集分: Zd97Bd http://blog.numino.net/ 波罗的海语系、中欧语系、斯拉夫语系、希腊语系和土耳其语系,西欧(ANSI)字元集、远东语言(汉语、日语和朝鲜语) NdAm1p http://blog.numino.net/ WINGDI.H中定义的子元集ID有: zyjV4q http://blog.numino.net/ define ANSI_CHARSET 0 // 1252 Latin 1 (ANSI) dAdT5x http://blog.numino.net/ #define DEFAULT_CHARSET 1 iAMhKI http://blog.numino.net/ #define SYMBOL_CHARSET 2 EoeLWd http://blog.numino.net/ #define MAC_CHARSET 77 79OPk7 http://blog.numino.net/ #define SHIFTJIS_CHARSET 128 // 932 (DBCS, 日本) 8xaMPQ http://blog.numino.net/ #define HANGEUL_CHARSET 129 // 949 (DBCS, 韩文) 9a66K0 http://blog.numino.net/ #define HANGUL_CHARSET 129 // " " fJEBaC http://blog.numino.net/ #define JOHAB_CHARSET 130 // 1361 (DBCS, 韩文) If73cd http://blog.numino.net/ #define GB2312_CHARSET 134 // 936 (DBCS, 简体中文) 7ZcAE5 http://blog.numino.net/ #define CHINESEBIG5_CHARSET 136 // 950 (DBCS, 繁体中文) JY6388 http://blog.numino.net/ #define GREEK_CHARSET 161 // 1253希腊文 nULyvP http://blog.numino.net/ #define TURKISH_CHARSET 162 // 1254 Latin 5 (土耳其文) Bap2i1 http://blog.numino.net/ #define VIETNAMESE_CHARSET 163 // 1258越南文 8b5H16 http://blog.numino.net/ #define HEBREW_CHARSET 177 // 1255希伯来文 JXL3T4 http://blog.numino.net/ #define ARABIC_CHARSET 178 // 1256阿拉伯文 5Y85t2 http://blog.numino.net/ #define BALTIC_CHARSET 186 // 1257波罗的海字集 hxhffR http://blog.numino.net/ #define RUSSIAN_CHARSET 204 // 1251俄文 (斯拉夫语系) SLaDv5 http://blog.numino.net/ #define THAI_CHARSET 222 // 874泰文 mzPwBO http://blog.numino.net/ #define EASTEUROPE_CHARSET 238 // 1250 Latin 2 (中欧语系) 4G91Xz http://blog.numino.net/ #define OEM_CHARSET 255 // 地区自订 xNGB31 http://blog.numino.net/ 4,字体是对字符的不同显示 hpkLxR http://blog.numino.net/ 问题1: chz2oP http://blog.numino.net/ 字符分ASCII字符,UNICODE字符,多字节字符三种外, Sd8klG http://blog.numino.net/ 不同的字元集对应不同的字符吗。(或者说字符和字元集的关系) 7WXkc1 http://blog.numino.net/ 问题2: 9pE35E http://blog.numino.net/ 字符与字元集,某个值(内存值)的字符在不同的字元集下表示的字符是不同的吗?
|
|