Characters with accents and diacritics showing incorrect - MySQL
Some characters with accents and diacritics, that are loaded from MySQL database are not showing correctly on the website. I am using UTF-8 encoding in the meta tag. Could you please tell me what is wrong and how to fix it ?
Hi,
You have to check if the characters with accents are correctly inserted in MySQL table. If they are showing correctly in MySQL database, then you can try to include mysql_set_charset() or mysqli_set_charset() function in the souce code.
I found that incorrectly showing characters are included in MySQL table. What should I do in this case ?
2 answers