摘要:
//UTF字符转换 var UTFTranslate = { Change:function(pValue){ return pValue.replace(/[^\u0000-\u00FF]/g,function($0){return escape($0).replace(/(%u)(\w{4})/gi,"&#x$2;")}); }, ReChange:function(pValue){ return unescape(pValue.replace(/&#x/g,'%u').replace(/\\u/g,'%u').repla 阅读全文
posted @ 2012-05-13 14:35
沼渊
阅读(20852)
评论(2)
推荐(0)