The following two tests both return UTF8?
char szTestCase1[] = "\xD6\xB1\xC1\xAC"; // GB2312"直连"
char szTestCase2[] = "\xE7\x9B\xB4\xE8\xBF\x9E";// UTF-8 "直连"
The above two detections both return UTF8
char szTestCase1[] = "\xD6\xB1\xC1\xAC"; // GB2312"直连"
char szTestCase2[] = "\xE7\x9B\xB4\xE8\xBF\x9E";// UTF-8 "直连"
The above two detections both return UTF8