开发者

browser auto decode url, is this a standard?

if you use the php function "urlencode" encode a url, and then put the result to a form item's value. the value will be decode by the brows开发者_高级运维er. is this a standard?


kinda de-facto standard yes. but only in modern browsers. its done for user convienience, so you can put utf8 charactesr in an url and its still pretty to the human eye. however please be aware that the text is actually still encoded and will be transmittet/requested encoded, it is only displayed decoded. internet explorer 6 is to my knowledge the most modern browser that does not support this yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜