经查,JavaScript内建函数里有把unicode转字符的String.fromCharCode()。 ... function convert2Unicode(char) { return "\\u" + char.charCodeAt(0).
確定! 回上一頁