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 ?
0
give a positive ratinggive a negative rating
24 Mar 2020 at 06:11 PM
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.
0
give a positive ratinggive a negative rating
27 Mar 2020 at 03:47 PM
Tim
I found that incorrectly showing characters are included in MySQL table. What should I do in this case ?
0
give a positive ratinggive a negative rating
27 Mar 2020 at 05:54 PM
Share on FacebookShare on TwitterShare on LinkedInSend email
x
x
Follow us on Facebook
2022 AnswerTabsTermsContact us