after one week research, I found a solution, the visitor can view and submit Chinese(GB2312 encoding) correctly, the text ind database also display correctly(with phpmyadmin, utf8)
first create database with collation utf8_general_ci, then copy the en fole to cn folder inside language folder.
(you can translate later).
do changes as follow:
1.
D:\wamp\www\hesk\language\cn\text.php
line 10
from
Code: Select all
$hesklang['LANGUAGE']='English';
Code: Select all
$hesklang['LANGUAGE']='Simple Chinese';
line 11
from
Code: Select all
$hesklang['ENCODING']='utf8';
Code: Select all
$hesklang['ENCODING']='gb2312';
D:\wamp\www\hesk\inc\database.inc.php
line 73
Add new line after line "$hesk_db_link = …"
Code: Select all
mysql_query( "SET NAMES 'gb2312'");
that's all. enjoy!
I think this work for all non ascii language. I didn't try.