Url Encode和HTML编码之间的区别
答
HTML编码转义HTML文档中使用的字符串中的特殊字符,以防止与HTML元素混淆,如更改
HTML Encoding escapes special characters in strings used in HTML documents to prevent confusion with HTML elements like changing
"<hello>world</hello>"
到
"<hello>world</hello>"
URL编码对URL中的字符串值执行类似操作,如更改
URL Encoding does a similar thing for string values in a URL like changing
"hello+world = hello world"
$ b b
到
to
"hello%2Bworld+%3D+hello+world"