function tochar() {
// Get input
let hex = document.getElementById('hex').value;
// Remove u
hex = hex.slice(2);
// Convert to char
const char = String.fromCharCode(parseInt(hex,16));
// Show
document.getElementById("char").value = char;
};
tochar();
unicode <input type="text" id="hex" value="uac00"/>
?char <input type="text" id="char"/>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…