cocos2dx转换文字为utf-8

在cocos2dx中常常须要转换文字为utf-8web // 转成UTF-8 inline const char* G2U(const char* str) { #if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) int len = MultiByteToWideChar(CP_ACP,0,str,-1,NULL,0); wchar_t*
相关文章
相关标签/搜索