Unicode escape sequences are used in program texts to represent Unicode characters. Such escape sequences are processed in identifiers, character and string literals. Escape sequences are not processed in any other program location.
unicode-escape-sequence:
\u hex-digit hex-digit hex-digit hex-digit
\U hex-digit hex-digit hex-digit hex-digit hex-digit hex-digit hex-digit hex-digit
A Unicode escape sequence represents a single Unicode character formed by the hexadecimal number following the "\u" or"\U" characters. Since the language compiler uses 16-bit encoding of Unicode code points in characters and string values, a Unicode character in the range U+10000 to U+10FFFF is not permitted in character literals. These characters can be represented using a Unicode surrogate pair in a string literal.
Const
CopyRight = "\u00A9 JSC ""IT company"""; //This constant corresponds to the value: © JSC "IT Company"
See also: