编解码的方法都有哪些

2020-12-01  本文已影响0人  i断章

                 编码                          解码

字符串:   escape(str)              unescape(str)

url      :   encodeurI(str)             decodeUrl(str)

url组件:encodeURIComponent(str)        decodeURLComponent(str)

上一篇下一篇

猜你喜欢

热点阅读