hello! i have one question:when i setMonthNames use chinese. the months are Garbled.
the codes:
const char *szMonthsLabs[]={_UT("一月"),_TU("二月"),"三月","四月","五月","六月","七月",
"八月","九月","十月","十一月","十二月"};
c->setMonthNames(StringArray(szMonthsLabs,(int)(sizeof(szMonthsLabs)/sizeof(szMonthsLabs[0]))));
before those i set:
c->setDefaultFonts(_TU("SIMSUN.TTC"),_TU("SIMSUN.TTC"),_TU("SIMSUN.TTC"),_TU("SIMSUN.TTC"));
please!
thanks
|