Answers for "convert string to unicode javascript"

1

convert string to unicode javascript

Use String.fromCharCode() like this: String.fromCharCode(parseInt(input,16)). When you put a Unicode value in a string using \u, it is interpreted as a hexdecimal value, so you need to specify the base (16) when using parseInt.
Posted by: Guest on March-11-2021

Code answers related to "convert string to unicode javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language