空格的URL编码

Q:

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

A:

urlencode(" ") '返回+
encodeURI(" ") '返回%20
是有区别的
原文地址:https://www.cnblogs.com/kenshinobiy/p/4781946.html