摘要:
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. 阅读全文
摘要:
WideStringwstr;AnsiStringastr;wchar_t*wp;//或者BSTRwp;wp=wstr.c_bstr();//WideString转化为BSTRwstr=astr;//AnsiString转化为WideStringastr=wstr;//WideString转化为AnsiStringwstr=wp;astr=wp; 阅读全文