如果你是非unicode编译,那么汉字字符直接类型转换为双字节数字  就是其GB2312/GBK编码char szHello[] = "你好";
CString strCP936;
strCP936.Format("%x",*(WORD*)szHello);
strCP936 = strCP936.Mid(2) + strCP936.Left(2); //高字节在前
MessageBox(strCP936);