21278 Posts in 5728 Topics by 2599 members
| Go to End | ||
| Author | Topic: | 1486 Views |
-
Re: character set

6 February 2010 at 6:04pm
Ok, i found the answer here http://www.silverstripe.org/general-questions/show/258497#post258497, but i cases only new pages, the old ones, now all have the wrong letters, and have to rebuild.
-
Re: character set

6 February 2010 at 9:20pm
At least tag cloud didn't work correctly, and a whole blog too, i thing that every module need to be extended that way, mayby there is more elegant solution?
-
Re: character set

9 February 2010 at 5:53pm
Hi Solo
sorry I forgot to add the class
class MySQLUnicodeDatabase extends MySQLDatabase {
public function __construct($parameters) {
parent::__construct($parameters);
mysql_set_charset('utf8'); // We can't get access to dbConn, but we don't have to, since it's going to be the most recent one created.
}
} -
Re: character set

11 February 2010 at 2:41pm
Thanks for your help, but i didn't understand how to use it, it didn't work if sets only in _conf. Another one solution is here http://open.silverstripe.org/ticket/2377, but it didn't have effect on extensions, like blog. What a fk(((
| 1486 Views | ||
| Go to Top |


