Cake php marche nickel pour le russe, pour autant que l'on fasse de l'encoding utf8:
attention, pas de trait d'union!!! si on en met un, cake le prend pour du windaube!!!
dans ce cas, il ne reste plus qu'à faire:
#http://php.net/manual/en/function.utf8-encode.php $local=mb_convert_encoding($local,"windows-1252", "UTF-8");
gedit cake/app/config/database.php
...
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'xxx',
'password' => 'xxx',
'database' => 'xxx',
'prefix' => '',
'encoding' => 'utf8'
);
var $test = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'xxx',
'password' => 'xxx',
'database' => 'xxx',
'prefix' => '',
'encoding' => 'utf8'
);
}