Convert a widestring or unicodestring to an UTF-8 encoded ansistring
Source position: ustringh.inc line 139
function UTF8Encode( |
const s: ansistring |
):ansistring; |
const s: UnicodeString |
):ansistring; |
const s: WideString |
):ansistring; |
UTF8Encode converts an ansistring or widestring S to the equivalent UTF-8 encoded Unicode string and returns this resulting string. It calls the low-level UnicodeToUTF8 function to do the actual work.
The resulting string has code page CP_UTF8.
|
Convert an UTF-8 encoded ansistring to a unicodestring |
|
|
Convert a UTF-8 encoded Unicode string to an ansistring |
|
|
||
|
Set the widestring manager |