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,…
delphi的UTF8相关函数 AnsiToUtf8 function Converts a string encoded in Ansi to UTF-8. PUCS4Chars function Converts a UCS4 string to a null-terminated array of UCS4 characters. StringToWideChar function Returns a UNICODE string from an AnsiString. UCS4Strin…