解码用 escape 方法进行了编码的 string 对象。
unescape(charstring)
必选项 charstring 参数是要解码的 string 对象。
说明
unescape 方法返回一个包含 charstring 内容的字符串值。所有以 %xx 十六进制形式编码的字符都用 ascii 字符集中等价的字符代替。
以 %uxxxx 格式(unicode 字符)编码的字符用十六进制编码 xxxx 的 unicode 字符代替.
注意 unescape 方法不能用于解码统一资源标识码 (uri)。解该码可使用 decodeuri 和 decodeuricomponent 方法。
要求
版本 1
请参阅
decodeuri 方法 | decodeuricomponent 方法 | escape 方法 | string 对象
应用于: global 对象
闽公网安备 35060202000074号