lopes_andre Posted January 10, 2009 Share Posted January 10, 2009 Hi, I have data in a MySQL database, and that data have Portuguese and Spanish accents. When I show that data in HTML the I get strange characters insted of the Portuguese and Spanish accents. What I can do to solve this? Best Regards, André. Link to comment https://forums.phpfreaks.com/topic/140297-characters-with-accent-on-database/ Share on other sites More sharing options...
GingerRobot Posted January 10, 2009 Share Posted January 10, 2009 What collation is the field in the database and what charset does the page have? Link to comment https://forums.phpfreaks.com/topic/140297-characters-with-accent-on-database/#findComment-734139 Share on other sites More sharing options...
lopes_andre Posted January 10, 2009 Author Share Posted January 10, 2009 Hi, Thanks for your reply. The collation in the database is latin1_swedish_ci, and the charset on the page is UTF-8. What need I change to get the accents working? Best Regards, André. Link to comment https://forums.phpfreaks.com/topic/140297-characters-with-accent-on-database/#findComment-734192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.