<script> alert(escape('abc123'))// escape对非ASCII字符进行编码,如空格等 alert(escape('a b c')+"-"+unescape('a b c'))// unescape解码 alert(escape('@a,b.c!')+"-"+unescape('@a,b.c!'))</script>