{ "topic": "html-unicode", "input_types": [ "text" ], "input_labels": [ "HTML code" ], "input_values": [ "©" ], "type": "Convert", "title": "HTML code to Unicode", "description": "This converter converts given HTML code to Unicode code point.", "category": "HTML Conversion Tools", "preview": true, "function": "function myFunc(arr) {\n let htmlcodeString = arr[0];\n let unicodeString = parseInt(htmlcodeString.replace(/[^0-9a-fA-F]/g, ''), 10).toString(16).toUpperCase();\n unicodeString = nZeroes(5-unicodeString.length) + unicodeString;\n return 'U+' + unicodeString;\n }", "op_label": "Unicode", "explanation": "This tool converts the given HTML code to Unicode." }