UTF8Encode function
Convert a widestring or unicodestring to an UTF-8 encoded ansistring.
Declaration
function UTF8Encode(const s: RawByteString): RawByteStringDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
