Convert Chinese symbols to English punctuation
function stringFromCharCode(str){
var tmp = "";
for(var i=0;i<str.length;i++){
if(str.charCodeAt(i) >= 65281 && str.charCodeAt(i) <= 65374) {// If at full width! To the full-width ~ interval
tmp += String.fromCharCode(str.charCodeAt(i)-65248)
}else if(str.charCodeAt(i) == 12288){//The value of the full-width space, it does not follow the relative to ASCII Offset, must be handled separately
tmp += ' ';
}else{// Do not handle full-width spaces, full-width! To the character
tmp += str[i];
}
}
return tmp;
}