{ "topic": "unicode-html", "input_types": [ "text" ], "input_labels": [ "Unicode" ], "input_values": [ "U+000A9" ], "type": "Convert", "title": "Unicode to HTML code", "description": "This converter converts given Unicode character to HTML code.", "category": "HTML Conversion Tools", "preview": true, "function": "function myFunc(arr) {\n let unicodeString = arr[0];\n let decimalRepresentation = parseInt(unicodeString.slice(2), 16);\n return '&#' + decimalRepresentation.toString(10) + ';';\n }", "op_label": "HTML Code", "explanation": "This tool converts the given Unicode to HTML code." }