RAD Studio VCL Reference
|
Converts a UTF-16 character or surrogate pair to a UCS4Char.
class function ConvertToUtf32(const S: string; Index: Integer): UCS4Char; overload; class function ConvertToUtf32(const S: string; Index: Integer; out CharLength: Integer): UCS4Char; overload; static; class function ConvertToUtf32(const HighSurrogate: Char; const LowSurrogate: Char): UCS4Char; overload; static;
__fastcall UCS4Char ConvertToUtf32(const AnsiString S, int Index); static __fastcall UCS4Char ConvertToUtf32(const AnsiString S, int Index, int CharLength); static __fastcall UCS4Char ConvertToUtf32(const Char HighSurrogate, const Char LowSurrogate);
This method 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!
|