空格的URL编码

Q:

为什么我看的教材一会说是“+” 一会说是“%20”

A:

urlencode(" ") '返回+
encodeURI(" ") '返回%20
是有区别的
posted @ 2015-09-04 16:45  谦信君  阅读(703)  评论(0编辑  收藏  举报