Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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.
 
PREVIOUS NEXT
Tagged: #convert #string #unicode #javascript
ADD COMMENT
Topic
Name
1+2 =