Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

character set


12 Posts   1978 Views


6 February 2010 at 6:04pm Community Member, 32 Posts

Ok, i found the answer here, but i cases only new pages, the old ones, now all have the wrong letters, and have to rebuild.


6 February 2010 at 9:20pm Community Member, 32 Posts

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?


9 February 2010 at 5:53pm Community Member, 41 Posts

Hi Solo

sorry I forgot to add the class

class MySQLUnicodeDatabase extends MySQLDatabase {
   public function __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.


11 February 2010 at 2:41pm Community Member, 32 Posts

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, but it didn't have effect on extensions, like blog. What a fk(((