Chapter 2
The <form> Element
Section 8
What Happens If You Use a Character Outside of the Specified Encoding Type?
The burning question is what happens if you define a character encoding type, and then the user types in a character that is not recognized by that type. Firstly, the browser will not be able to URL-encode the character straight away. It will first have to attempt to convert that character into something it understands. Different browsers may do different things, but at the time of this lecture, Chrome attempts to convert the character into its own character set. It is Unicode decimal form. The problem with this, however, is that the server expects to receive values in the %HH format, which means that the server may not be able to read the character the browser sends it.