BOOL HasChineseChar(CString Cstr) { int nLen = Cstr.GetLength(); unsigned char ch1, ch2; for(int i = 0; i != nLen; ++i) { ch1 = Cstr[i]; if (ch1 >= 0xA0) { return TRUE; } else { continue; } } return FALSE; }
BOOL HasChineseChar(CString Cstr) { int nLen = Cstr.GetLength(); unsigned char ch1, ch2; for(int i = 0; i != nLen; ++i) { ch1 = Cstr[i]; if (ch1 >= 0xA0) { return TRUE; } else { continue; } } return FALSE; }