Display UTF8 encoding records such as Chinese or Asian languages from MySQL database with PHP
Editor’s note: If you are a programmer who involves with a database with UTF8 language encoding records such as Chinese or other Asian languages. You might counter some cases when you try to display the records, the UTF8 language characters might appear to be meaningless symbols. I have found a way to solve this issue.
Include the codes below in the beginning of the PHP file which the UTF8 encoding language records will be displayed from that file:
header("Content-Type: text/html; charset=utf-8"); mysql_query("SET NAMES UTF8");






