Accents problem when inserting on DB
Posted: Thu Jul 09, 2009 9:29 pm
Hello…
I created a form for users to input data on a mysql DB. Accents appear OK on the form, I do a echo before the Query to insert the data on DB and no problem with the accents, but when I go to the DB, those accents inserted by the users don't appear OK.
The tables are UTF8 and everything in PHP is encoded in UTF8.
Where might be the problem?
Thanks.
I created a form for users to input data on a mysql DB. Accents appear OK on the form, I do a echo before the Query to insert the data on DB and no problem with the accents, but when I go to the DB, those accents inserted by the users don't appear OK.
The tables are UTF8 and everything in PHP is encoded in UTF8.
Where might be the problem?
Thanks.