but it show ‘口A口’ in the screen.i find some QA in google.convert the gb2312 to utf-8 but the result is still the same. is there some problem to use chinese with cocos2dx2.2.2 in wp8.
I use arialuni.ttf in Resources\fonts to show Chinese, pr: https://github.com/cocos2d/cocos2d-x/pull/5223, it test Ok in TextInputTest.cpp and LabelTest.cpp. Windows Phone does not allow access to system fonts from C++.
I use arialuni.ttf in Resourcesonts to show Chinese, pr: [[https://github.com/cocos2d/cocos2d-x/pull/5223]], it test Ok in TextInputTest.cpp and LabelTest.cpp. Windows Phone does not allow access to system fonts from C++.
I use arialuni.ttf in Resourcesonts to show Chinese, pr: [[https://github.com/cocos2d/cocos2d-x/pull/5223]], it test Ok in TextInputTest.cpp and LabelTest.cpp. Windows Phone does not allow access to system fonts from C++.
You have to download the arialuni.ttf into the directory of Resources\fonts, and make sure the .cpp file is utf-8 coding. and use code CCLabelTTF *pLable = CCLabelTTF::create(“中国”, “fonts/arialuni.ttf”, 30). It can be OK. If you have any question, contact me, qq:450928375.
“utf-8 without signature” encoding can show the chinese char, but in some case it will make a lot of compiling error when you use vs2012
“utf-8 with signature” and “gb2312” encoding make chinese char using gb2312 encoding actually, no matter the cpp file is encoding utf-8 or gb2312