1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Tag Cloud in Blog Module shows ? instead of ä, ö, ü
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 2590 Views |
-
Tag Cloud in Blog Module shows ? instead of ä, ö, ü

4 December 2009 at 1:04pm
Hi all,
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!
Jonas -
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

5 December 2009 at 12:10pm
problem solved
-
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

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
Joakim
-
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

6 February 2010 at 7:34am
Could it have something to do with that?
http://silverstripe.org/blog-module-forum/show/257046
or see the file attached, could help. can't remember really...
Cheers
Jonas -
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

12 February 2010 at 2:17pm
I have the same problem, how do you solved it?
-
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

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.
-
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

13 February 2010 at 6:22am
Hi!
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,
Juan -
Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü

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.
| 2590 Views | ||
| Go to Top | Next > |



