本文整理自网络,侵删。
var UnicodeStr: UnicodeString; UTF8Str: RawByteString;begin UTF8Str := UTF8Encode('some unicode text'); SetCodePage(UTF8Str, 0, False); UnicodeStr := UTF8Str; Windows.SomeFunction(PWideChar(UnicodeStr), ...)
相关阅读 >>
Delphi tms web core twebhttprequest使用
更多相关阅读请进入《Delphi》频道 >>