1832 Posts in 1002 Topics by 553 members
Page: 1 2
|Go to End||Next >|
4 December 2009 at 1:04pm
My blog is working well but the tag cloud widget shows question marks instead of Ã¤, Ã¶ and Ã¼. Because I use it in german language I depend on those characters. It seems like utf8 isn't read correctly from the database.
In the blog itself Ã¤, Ã¶ and Ã¼ are shown correctly.
Thanks for your help!
5 December 2009 at 12:10pm
21 January 2010 at 3:54am
How did you solve it? I have the same problem since a couple of months and tried everything but cant find a solution to the problem
6 February 2010 at 7:34am
Could it have something to do with that?
or see the file attached, could help. can't remember really...
12 February 2010 at 2:17pm
I have the same problem, how do you solved it?
12 February 2010 at 3:36pm
The problem is that the blog module have its own connection to the database instead of using sapphire connection, like a forum module. So it don't work properly on the languages except English.
13 February 2010 at 6:22am
The Blog module has indeed some problems with non-English languages. I had to use some htmlentities() for the Archive widget and the following change in line 55 of TagCloudWidget.php:
$theseTags = split(" *, *", mb_strtolower(trim($entry->Tags)));
Also, try to save your templates in UTF8 without BOM.
Hope it helps,
13 February 2010 at 3:51pm
No, it's SilverStripe have problems with non-English languages. It problem can be solve http://open.silverstripe.org/ticket/2377, but not for the blog module, so if i set the $this->query("SET CHARACTER SET 'utf8'"); $this->query("SET NAMES 'utf8'"); in sappire. it takes no effect on blog module, guess this problem soved in 2.4.0 version of ss.
Page: 1 2
|Go to Top||Next >|