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.
精彩评论