摘要: UTF8Encode:Call Utf8Encode to convert a Unicode string to UTF-8. WS is the Unicode string to convert. Utf8Encode returns the corresponding UTF-8 string.AnsiToUtf8:AnsiToUtf8 converts the string specified by S, which uses the ANSI encoding system, to UTF-8. 阅读全文
posted @ 2013-11-07 17:12 CPYER 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: WideStringwstr;AnsiStringastr;wchar_t*wp;//或者BSTRwp;wp=wstr.c_bstr();//WideString转化为BSTRwstr=astr;//AnsiString转化为WideStringastr=wstr;//WideString转化为AnsiStringwstr=wp;astr=wp; 阅读全文
posted @ 2013-11-07 16:53 CPYER 阅读(1014) 评论(0) 推荐(0) 编辑