//编码
encodeURI(date)
//解码
decodeURI(date)
JS中ASCII码值和中文互转(只支持单个字转)
var code = "这".charCodeAt(0);
alert(code);
alert(String.fromCharCode(code));
//编码
encodeURI(date)
//解码
decodeURI(date)
JS中ASCII码值和中文互转(只支持单个字转)
var code = "这".charCodeAt(0);
alert(code);
alert(String.fromCharCode(code));