httpwebwitch - 2:47 am on Jul 13, 2010 (gmt 0)
This seems like such a newb question, but I'm really struggling with this.
I have the Traditional Chinese characters "漢字測試" in my MySQL database. The encoding is UTF-8, for the field, and for the database as a whole. I'm sending the proper Character set header. I even have the <meta> tag in there specifying that the page is UTF-8.
But on my page, it looks like "?"
When I SELECT the characters in MySQL, they are Chinese. If I type those chinese characters directly into the HTML, they look fine. But when I SELECT them from the database, and print() them on the page, they look like "?"
Try as I might, I can't get those characters to render on my web page.
I've tried umpteen variations using utf_encode() and iconv()
I should add that other international characters are showing up OK... Spanish and French are looking fine.
What am I doing wrong?
How do I do this right?