【转】 Uniode TO ANSI 转换函数封装
摘要:
===================================================================// UNICODE 转换 ANSI 程序int ustr_astr( CString unicodestr, char *ansistr ){int result = 0;try{ int needlen = WideCharToMultiByte( CP_ACP, 0, unicodestr, -1, NULL, 0, NULL, NULL ); if( needlen 0 ) { return needlen; } result = WideCharT 阅读全文
posted @ 2011-01-20 15:15 Daywei 阅读(417) 评论(0) 推荐(0) 编辑