PHPSuperBlog.com

Change the MySQL database table encoding to UTF8 with PHP

In some cases, where you forgot to change the MySQL database table encoding to UTF8 when creating but you need to insert some text such as Chinese or other Asian languages which require UTF8 into the MySQL. Also you might not have a MySQL user control interface such as phpmyadmin to make it easy for you, and so what should you do?? Let’s create a PHP file to do the job, and here is an example:
Continue Reading →

Display UTF8 encoding records such as Chinese or Asian languages from MySQL database with PHP

If you are a programmer and involving 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 appears to be meaningless symbols. I have found a way to solve this issue and would like to share it here. Continue Reading →

  • Categories

  • Useful Downloads