Save Accents in MySQL Database
I'm trying to save French accents in my database, but they aren't saved like they should in the DB. For example, a "é" is saved as "é". I've tried to set my files to "Unicode (utf-8)", the fields in the DB are "utf8_general_ci" as well as the DB itself. When I look at my data posted through AJAX with Firebug, I see the accent passed as "é", so it's correct. Thanks and let me know you need more info! Olivier Kaisin Personally I solved the same issue by adding after the MySQL connection code : mysql_set_charset("utf8"); or for mysqli: mysqli_set_charset($conn, "utf8"); or the mysqli OOP