Page 1 of 1

UNICDOE problem

Posted: Thu May 12, 2005 10:07
by ttom
Dear All:
When i declare below code

Code: Select all

wchar_t wFilename[256]=L"當";

compiler is error.

e:\work\Ogre\1.0.1\Basic\ShowChinese\CEGUIChineseDemo.cpp(35) : error C2001: newline in constant

anyone meet is problem.

sorry for my poor english.

ps:vc2003

Re: UNICDOE problem

Posted: Mon May 30, 2005 08:59
by jasom_liu
我也遇到过这种问题,一般是输入多个汉字后删除其中一部分后出现~~把它删了重新输入中文就OK。不知道具体问题是出在哪里~我把它归结为RPWT(人品问题)。
个人认为是由于ASC转UTF-8后,删除某个汉字时VS不能正确区分究竟该删掉几个字节~