Incorrect encoding when data read from a mysql database
| From: | Neil Jackson | Date: | Fri, 03 Dec 2010 09:42:47 +0000 |
| Subject: | Incorrect encoding when data read from a mysql database | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-47517@lists.php.net to get a copy of this message | ||
Hi,
I am designing a website that requires storing data in 3 different languages,
English, Portuguese and Tetum.
When I read the data from the database the accented characters are displayed
as a ? in Firefox and Opera, a square in IE and correctly in Chrome
How can I convert it on the fly and display the data correctly?
Thanks for the help
Neil