摘要:
我们一般使用Windows函数MultiByteToWideChar将多字节字符串转换为宽字符字符串,函数原型如下:int MultiByteToWideChar(__in UINT CodePage, //与多字节字符串关联的一个代码页值,一般设为CP_ACP__in DWORD dwFlags, //指定额外的转换控制,一般为0__in LPCSTR lpMultiByteStr, //要转换的多字节字符串__in int cbMultiByte, //多字节字符串字节数,为-1则自动判断字符串长度__out LPWSTR lpWideCharStr, //转换后Unic... 阅读全文
posted @ 2010-12-23 19:58
android开发实例
阅读(752)
评论(0)
推荐(0)

浙公网安备 33010602011771号