unicode 轉換

function htmlUn(str) {html

return str.replace(/&#(x)?([^&]{1,5});?/g, function(param00,param01, param02) {spa

return String.fromCharCode(parseInt(param02, param01 ? 16 : 10));htm

});it

}io

相關文章
相關標籤/搜索