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 ?
24 Mar 2020 at 06:11 PM
0pnshow more
StorStor
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.
27 Mar 2020 at 03:47 PM
0pnshow more
TimTim
I found that incorrectly showing characters are included in MySQL table. What should I do in this case ?
27 Mar 2020 at 05:54 PM
0pnshow more
StorStor
Share on FacebookShare on TwitterShare on LinkedInSend email
Follow us on Facebook & Twitter
2022 AnswerTabsTermsContact us