add the asciiOnly variable to the mysql class. if set to true it allow only ascii characters in sql queries, false will allow all printable characters.