(use unigine_evaluation_2013-08-16_windows.exe)
I need to show chinese language in widgetlabel ,so id change the widget font to font_ch.ttf.
and write the script like this
lpWidgetLabel->setText("中文"); // ----in Script1.cpp file (saved as ascii)
but the display is worng .
so i did this:
1.
then i want to found something api like asciiToUTf8 asciiToUnicode ,but there is only characater convert api between
utf8 and unicode .
so this way is not ok.
2.
then i save the script1.cpp to utf8 code . but when i start it ,pop up a load error dialog
parser:readName():bad name '口 world::loadworld():cant load "script1.cpp" world script'
what did i missed ,how to solve this problem.
should a rewrite a api like ascii to utf8 ? or there is another way
thanks!