摘要: 详解Javascript中的Url编码/解码摘要本文主要针对URI编解码的相关问题做了介绍,对Url编码中哪些字符需要编码、为什么需要编码做了详细的说明,并对比分析了Javascript中和编解码相关的几对函数escape / unescape,encodeURI / decodeURI和encodeURIComponent / decodeURIComponent。预备知识 foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/ \________/\_________/ \__/ | | | | |sc 阅读全文
posted @ 2012-04-26 17:26 下里巴人or知己 阅读(496) 评论(0) 推荐(0) 编辑