![]() | GlobalUnicode |
Converts a character string that represents a Unicode hex code e.g.: 20AC (=> €) into the corresponding character.
Converts a string, representing a hex-unicode character like 20AC, to ascii €.
public static string UnicodeHexcodeToChar( string unicodeHexcode, string defaultValue )
The four-digit hex code of the Unicode character set. Leading 0s do not have to be specified.
Hex-unicode consisting of four characters like 20AC. Leading zeroes are optional.
The default value that is returned if it is not a hex code with a maximum of four digits.
Default returned, if there was no conversion possible.
The character of the Unicode character set that is classified by the hex code.
Ascii-equivalent to the given unicode-sequence.