PDA

View Full Version : MySQL don't support my language ?


shenuke
06-04-2007, 01:45 PM
MySQL don't support my language (Thai ; Tis-620)

How to editing this problem ?

Thanks,

David
08-02-2007, 08:33 PM
Please ask this question here
http://forums.mysql.com/
and then tell us what they say.

Boby
08-03-2007, 02:32 AM
Try first to change in your /include/config.php file:
@ header ('Content-Type: text/html; charset=Tis-620');in your header.tpl:
<meta http-equiv="Content-Type" content="text/html; charset=Tis-620" />The following will indicate what character set the client will use to send SQL statements to the server. In init.php and /admin/init.php look for the following:
if ($db->Connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME))
{
$db->SetFetchMode(ADODB_FETCH_ASSOC);Right after add the following:
$db->Execute("SET NAMES 'Tis-620'");Hope it helps...and that the correct charset for your language is "Tis-620"