收集整理 时间是: 02/06/06 下午 01:17:41.
文件名称: jsmthunescape.htm
页面标题: unescape 方法  •  文件大小: 2018  •  最后更新: Mon, 06 Feb 2006 02:23:48 GMT

unescape 方法

解码用 escape 方法进行了编码的 String 对象。

unescape(charstring)

必选项 charstring 参数是要解码的 String 对象。

说明

unescape 方法返回一个包含 charstring 内容的字符串值。所有以 %xx 十六进制形式编码的字符都用 ASCII 字符集中等价的字符代替。

%uxxxx 格式(Unicode 字符)编码的字符用十六进制编码 xxxx 的 Unicode 字符代替.

注意   unescape 方法不能用于解码统一资源标识码 (URI)。解该码可使用 decodeURIdecodeURIComponent 方法。

要求

版本 1

请参阅

DecodeURI 方法 | decodeURIComponent 方法 | escape 方法 | String 对象

应用于: Global 对象