/\u0022/ig 是正则表达式\u0022表示一个unicode字符;
i匹配忽略大小写;
g全局匹配

解决方案 »

  1.   

    看一看\u0022是个啥东西:document.write("<font size=10>\u0022</font")--->>><font size=10>"</font
      

  2.   

    \u0022表示一个unicode字符
    这些那里有这些参考资料啊!!能不能给我个连接。
      

  3.   

    正则表达式参考:
    http://www.kymita.com/article/list.asp?id=380
      

  4.   

    escape 方法   
    描述
    对 String 对象编码以便它们能在所有计算机上可读, 
    语法
    escape(charstring) 
    charstring 参数是要编码的 String 对象。 说明
    escape 返回一个包含了 charstring 内容的新的 String 对象( Unicode 格式), 所有空格、标点、重音符号以及其他非 ASCII 字符都用 %xx 编码代替,其中 xx 等于表示该字符的十六进制数。 例如,空格返回的是 "%20" 。
    字符的值大于 255 的用 %uxxxx 格式存储。 
    示例:<script language=javascript>//查unicode码
    alert(escape('"'));
    alert(escape('我是中国人'))//反查unicode码
    alert(unescape('%22'));
    alert(unescape('%u6211%u662F%u4E2D%u56FD%u4EBA'));
    </script>