char ch[10] = "你";
int iType = (unsigned char )*ch & 0x80;
cout << iType << endl;
如果iType等于128,就说明这是一个汉字字符
转载于:https://my.oschina.net/dake/blog/196692
char ch[10] = "你";
int iType = (unsigned char )*ch & 0x80;
cout << iType << endl;
如果iType等于128,就说明这是一个汉字字符
转载于:https://my.oschina.net/dake/blog/196692