Jad Bou Chebl - 2010-12-24 09:30:41
Hi everyone,
I used to work with ultimate Mysql class during the past 3 years.
Everything went great until i started working on a multi-lingual website.
The problem was with the handling of Chinese, Russian, ... languages.
After debugging the issue, i came over the bug, fixed it and it worked perfectly in my case. Here are the changes i made:
Go to line 1423 in version 2.5.1, and replace:
if (! (mysql_query("SET CHARACTER SET '{$charset}'", $this->mysql_link))) {
by:
if (!mysql_set_charset($charset, $this->mysql_link)) {
Hope this will be useful.