ConvertToUtf32()
Contents
[
Hide
]Char::ConvertToUtf32(char_t, char_t) method
Converts the specified UTF-16 surrogate pair into UTF-32 code unit.
static int System::Char::ConvertToUtf32(char_t highSurrogate, char_t lowSurrogate)
Arguments
Parameter | Type | Description |
---|---|---|
highSurrogate | char_t | The high surrogate of the UTF-16 surrogate pair to convert |
lowSurrogate | char_t | The low surrogate of the UTF-16 surrogate pair to convert |
Return Value
A UTF-32 code unit resulting from conversion
Char::ConvertToUtf32(const String&, int) method
Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into UTF-32 code unit.
static int System::Char::ConvertToUtf32(const String &s, int index)
Arguments
Parameter | Type | Description |
---|---|---|
s | const String& | A string that contains a character or surrogate pair |
index | int | The index position of the character or surrogate pair in specified string |
Return Value
A UTF-32 code unit resulting from conversion
See Also
- Class Char
- Class String
- Namespace System
- Library Aspose.Slides