cocos2dx Label::createWithTTF()使用时出现文字错乱

从xml中取出中文,使用Label::createWithTTF()实例化的时候,会出现中文混乱。

但是如果,内容的文字都是同样的话,就不会出现这样的问题。有人知道是为什么吗?下面是我实例化的代码

TTFConfig configTitle(“fonts/jianxingkai.ttf”,45,GlyphCollection::DYNAMIC,nullptr,true);//引用字体文件
auto lable_successName=Label::createWithTTF(configTitle,successName,TextHAlignment::LEFT);
lable_successName->setAnchorPoint(Point::ZERO);
lable_successName->setPosition(Point(26,(maxcount205-65)-i206));
lable_successName->setColor(ccc3(115,229,254));
lable_successName->enableOutline(ccc4(0,0,0,255),5);//设置描边
scroll_Layer->addChild(lable_successName,3);

lable_successName->enableOutline(ccc4(0,0,0,255),5);//设置描边
将这段代码注释了 就不会出现了。