Wordpress 2.5.1

เพิ่ง upgrade จาก 2.0.2 เป็น 2.5.1 เสร็จหลังจากที่ไม่ได้ทำมานาน เจอปัญหาเดิมคือ เรื่อง UTF-8 กับ mysql 5.x.x. ภาษาไทยรวนหมด So just in case I have this problem in the future, what you have to do is add the following into wp-db.php

mysql_query("SET NAMES 'UTF8'");

before this line

$this->select($dbname);

Popular posts from this blog

Make keyboard on PC behave like Mac

Put del.icio.us on your blog

Scuttle Bookmark