标签:io java ar cti on c javascript r as
function cnToEn(str){ return escape(str).replace(/%u([a-z,A-Z,0-9]{4})/ig, ‘Uu$1‘); } function enToCn(str){ return unescape(str.replace(/Uu([a-z,A-Z,0-9]{4})/ig, ‘%u$1‘)); }
标签:io java ar cti on c javascript r as
原文地址:http://my.oschina.net/lhplj/blog/312487