Who synchonises character encoding across the whole stack?

This is something that doesn’t seem to get covered much in tutorials, so I suspect it goes unaddressed pretty often.

Typically with a web application there are three places a computer is interpreting your character encoding, the users browser, the server, and the database.

If the character encoding does not match in all 3, then there is a risk that any string validation you have done has not been correct, and could potentially introduce security threats and strange bugs.

What have peoples experiences been with this? Do you make sure your character encodings match? Did you not do it in the past and then started after a nasty bug or security problem?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.