Unicode 码制的问题
灿烂李 2006-08-24 05:54:13 我的程序与日方程序通讯,对方接收我的中文有时候会出现乱码。
我的程序编译是用的Unicode.对发送内容也加了_T宏。
我想知道的是,加了这个宏效果究竟怎么样?
我拿程序测试,
CString strOneTest,strSecTest;
strOneTest="我的你的";
strSecTest=_T(strOneTest);
int length1,length2,length3;
length1=strOneTest.GetLength();
length2=strSecTest.GetLength();
length1跟length2却是一样的,都是8,
不管DEBUGHA