Sportica   Sportica
摘要: static int char_to_wchar(const char* orig_str, wchar_t *wtext, int max_length){ int nCoverLen = 0; //add by shenbo setlocale(LC_ALL, "zh_CN.utf8"); nCoverLen = mbstowcs(wtext, orig_str, max_length - 1); if(-1 == nCoverLen){ perror("mbstowcs"); return... 阅读全文
posted @ 2012-03-28 16:30 qingjoin 阅读(807) 评论(0) 推荐(0) 编辑
  Sportica