RAD Studio VCL Reference
|
Converts a UTF-16 character or surrogate pair to a UCS4Char.
function ConvertToUtf32(const S: string; Index: Integer): UCS4Char; overload; function ConvertToUtf32(const S: string; Index: Integer; out CharLength: Integer): UCS4Char; overload; function ConvertToUtf32(const HighSurrogate: Char; const LowSurrogate: Char): UCS4Char; overload;
UCS4Char ConvertToUtf32(const AnsiString S, int Index); UCS4Char ConvertToUtf32(const AnsiString S, int Index, int CharLength); UCS4Char ConvertToUtf32(const Char HighSurrogate, const Char LowSurrogate);
This function is overloaded:
Converts the UTF-16 character or surrogate pair at index Index in string S to a UCS4Char.
Converts the UTF-16 character or surrogate pair at index Index in string S to a UCS4Char, and returns the length of the character converted from S as CharLength in UTF-16 characters.
Converts a high and low surrogate pair of UTF-16 chars to their combined UCS4Char value.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|