Zhou.Alone Posted May 29, 2013 Share Posted May 29, 2013 Hi, I have do something like below: window.setFont("fonts/STCAIYUN.TTF"); window.setFontSize(40); The pics attached shows the problem. It can display english string, but can't display chinese string. ps:the right one(purple string) was loaded from ui file, the wrong one was created from script. Do I miss something else? Link to comment
dai.yuqi Posted May 30, 2013 Share Posted May 30, 2013 set file encoding UTF-8 without BOM Link to comment
Zhou.Alone Posted May 30, 2013 Author Share Posted May 30, 2013 set file encoding UTF-8 without BOM Thanks, it works now. Link to comment
Recommended Posts