I have a page that is in a foreign language. Whats pull from the MySQL db displays as ?’s where the hard coded words are showing properly. In the DB the word are displayed properly too.
I added <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> to the head tag.
Any ideas?
Your databnase should be in UTF-8 (You can check it in PHPMyAdmin)
Your connection should be in UTF-8 (before any query:
SET NAMES utf-8or default somewhere in settings)Your meta-tag should be UTF-8 (Done)