test工程的问题

在LabelTest类里有段函数, 是可以正常显示中文的
LabelTTFChinese::LabelTTFChinese()
{
CCSize size = CCDirector::sharedDirector()->getWinSize();
CCLabelTTF *pLable = CCLabelTTF::create(“中国”, “Marker Felt”, 30);
pLable->setPosition(ccp(size.width / 2, size.height /2));
this->addChild(pLable);
}

我把整段实现代码复制到其他工程, 运行时显示的却是乱码? 是不是还要有什么设置呢? 忘解

  • utf-8, 带bom头。 或者读文件的形式,但是文件必须存为utf-8带bom头,至少在Windows上开发需要这样

谢谢, 已解决:)