In Javascript \'\\uXXXX\' returns in a unicode character. But how can I get a unicode character when the XXXX part is a variable?
\'\\uXXXX\'
XXXX
For example:<
JavaScript uses UCS-2 internally.
Thus, String.fromCharCode(codePoint) won’t work for supplementary Unicode characters. If codePoint is 119558 (0x1D306, for the '
String.fromCharCode(codePoint)
codePoint
119558
0x1D306
'