Convert a UTF32 character to UnicodeString.
Source position: character.pas line 103
public class function TCharacter.ConvertFromUtf32( |
AChar: UCS4Char |
AChar |
|
UTF32 character to convert to UTF16. |
A UTF16 Unicode string representing AChar.
TCharacter.ConvertFromUtf32 converts a single UTF32 character AChar to a UTF16 string. This is the opposite of TCharacter.ConvertToUtf32.
The result is a string, since multiple UTF16 characters can be needed to encode a single UTF32 character.
If AChar is not in the valid range of UTF32 characters, an EArgumentOutOfRangeException exception is raised.
|
Argument out of valid range passed to a function. |
|
|
Convert a UTF16 character to a UTF32 character. |