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 browser. is this a standard?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.