Convert a buffer with UTF-8 characters to widestring characters.
Source position: ustringh.inc line 140
function Utf8ToUnicode( |
Dest: PUnicodeChar; |
Source: PAnsiChar; |
MaxChars: SizeInt |
):SizeInt; |
Dest: PUnicodeChar; |
MaxDestChars: SizeUInt; |
Source: PAnsiChar; |
SourceBytes: SizeUInt |
):SizeUInt; |
Dest: PUnicodeChar; |
MaxDestChars: SizeUInt; |
Source: PAnsiChar; |
SourceBytes: SizeUInt; |
IgnoreInvalid: Boolean |
):SizeUInt; |
Utf8ToUnicode converts the buffer in Source with a length of SourceBytes or for a maximum length of MaxChars (or MaxDestChars) widestring characters to the buffer pointed to by Dest.
The function returns the number of copied widestring characters.
On error, -1 is returned.
|
Convert a widestring or unicodestring to an UTF-8 encoded ansistring. |
|
|
Convert an UTF-8 encoded ansistring to a unicodestring. |
|
|
Convert a UTF-8 encoded Unicode string to an ansistring. |
|
|
Set the widestring manager. |