[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Converts a UTF-8-encode string to its DBCS representation.
Source position: lazutf8.pas line 95
function UTF8ToDoubleByte( |
UTF8Str: PChar; |
Len: PtrInt; |
DBStr: PByte |
):PtrInt; |
UTF8Str |
|
UTF-8-encoded values to convert in the function. |
Len |
|
Length of the UTF-8-encoded input values. |
DBStr |
|
Storage for the Double Byte values. |
Number of double bytes converted in the function.
UTF8ToDoubleByte is used to convert UTF-8-encoded values to the representation used in Double Byte Character Sets (DBCS). UTF8ToDoubleByte calls UTF8CodepointToUnicode to process each of the codepoints in UTF8Str.
The return value contains the byte values from the conversion.
Version 3.2 | Generated 2024-02-25 | Home |