Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Tag Cloud in Blog Module shows ? instead of ä, ö, ü

Discuss the Blog Module.

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

Page: 1 2
Go to End
Author Topic: 2967 Views
  • Juanitou
    Avatar
    Community Member
    322 Posts

    Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü Link to this post

    Ah, maybe, I’m not a developer. In any case, the blog of the last site I’ve done is in French and it can show the chars ä, ö, ü, etc.

    Thanks for contributing with your ticket.
    Juan

  • Solo
    Avatar
    Community Member
    32 Posts

    Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü Link to this post

    This case only non latin languages i think, English, French, German must be ok, but Chinese and Russian may case problems.

  • PitrusCitrus
    Avatar
    Community Member
    3 Posts

    Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü Link to this post

    WOW=) Thanks Juanitou, that seamed to do the trick. Just by adding "mb_" to the line. Im not a programmer so I dont know what the extra letters mean, but the main thing is that it works now, =)

    "
    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.
    "

  • PitrusCitrus
    Avatar
    Community Member
    3 Posts

    Re: Tag Cloud in Blog Module shows ? instead of ä, ö, ü Link to this post

    "I had to use some htmlentities() for the Archive widget" What kind of changes did you do to the Archive widget Juan?

    Ive noticed that the change made to the line in TagCloudWidget.php fixed the problem with the non english characters in the tagcloud but the actual link code is still not working and showing %C3%A4 instead of non english characters (äåö).

    2967 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.