BCB:UTF8Encode、AnsiToUtf8
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.