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é. Quote Link to comment 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? Quote Link to comment 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é. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.