การแก้ไขภาษาเพี้ยน uft-8 ของ joomla เมื่อมีการย้าย hosting หรือ ย้ายฐานข้อมูล mysql
set the mysql connection charset in includes/database.php file at about line 102 (second line below)
$this->_table_prefix = $table_prefix;
//@mysql_query("SET NAMES 'utf8'", $this->_resource); // THIS IS THE LINE TO UNCOMMENT
$this->_ticker = 0;
$this->_og = array();
เปลี่ยนจาก utf8 เป็น utf-8
ใน joomla จะ error แบบนี้เป็นส่วนใหญ่
อ้างอิง http://stackoverflow.com/questions/6902415/mysql-html-string-problem
สรพล
jun_jao2000@hotmail.com