So to support multilanguage on the site I need to make sure all data going into the database is stored as utf8. My question is, is there a class out there that does form checks and data sanitization for forms using utf8 formatted form data? Right now I do checks such as if empty, or if the form data is a certain length, but would have to use different commands because of utf8. So just wanted to check and see if there is a pre-existing class for this type of checking/sanitizing as I try not to re-invent the wheel.
Share
Some general information about the topic can be found in Building Scalable Web Sites by Cal Hernderson (O’Reilly 2006) in chapter 5 (Chapter 5 as PDF).