The table below shows examples of Unicode literals and their translation.
Unicode Literal |
Translation |
---|---|
'' |
String of length 0 (empty string). Two single quotes, one next to the other, with no intermediary spaces. |
'\u0000' |
Binary zero. You can abbreviate this to "\0") |
'\u3050' |
Hiragana letter GU |
'\u00a3' |
(English) Pound sign |
'\u06CF' |
Arabic letter Waw with dot above |
'\u0041\u0042\u0043' |
'ABC' |
'\u0031\u0032\u0033' |
'123' |