[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Converts a UTF-16-encoded string (system endian) to UTF-8 encoding.
Source position: lazutf8.pas line 215
function UTF16ToUTF8( |
const S: UnicodeString |
):AnsiString; overload; |
const P: PWideChar; |
WideCnt: SizeUInt |
):AnsiString; overload; |
S |
|
Source UTF-16 string (system endian). |
UTF-8-encoded string.
P |
|
Pointer to the Source UTF-16 string (system endian). |
WideCnt |
|
Number of WideChar values in the source string. |
UTF16ToUTF8 is a TConvertResult function used to convert the specified UTF-16-encoded string (system endian) to UTF-8 encoding.
The return value is a TConvertResult enumeration value, and includes:
|
Indicates the result from UTF-8 <-> UTF-16 conversions. |
Version 3.2 | Generated 2024-02-25 | Home |