摘要:
var name = window.location.search.substr(4,30);//name = decodeURI(name);//使用示例document.getElementById('username').innerHTML = decodeURI(name); 阅读全文
摘要:
//判断传入的字符是否是utf-8function is_utf8($word){if (preg_match("/^([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}... 阅读全文