2
I just had a look at the
php MySQL documentation and it doesn't look like you can control the character set from PHP's side.
On the MySQL side it looks like you CAN
send a query to the database telling it you will be communicating in character set x:
SET CHARACTER SET [i]x[/i]
You will need to confirm that the desired character set is available on the server by
running this query (in phpmyadmin or some other MySQL console program)
SHOW CHARACTER SET;
If it is, you can try to set the character set immediately after the db connection has been initialized, in /includes/common.php:
after
$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
add
$xoopsDB->query('SET CHARACTER SET ');