Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Character encoding problem

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2380 Views
  • Emms
    Avatar
    Community Member
    9 Posts

    Character encoding problem Link to this post

    Hi all

    I am currently trying to get a particular accented character to work - ā

    I can enter these into the CMS without a problem and they appear correctly, but they are displaying on the published site as question marks (Māori as written in the CMS becomes M??ori on the published site).

    Other accented characters work fine (such as á) - I figured it was something to do with the charset - it is set to utf-8, but plenty of other sites with macronised characters seem to use this without problem.

    If anybody could give me a hand it would be really appreciated!

  • carlossg
    Avatar
    Community Member
    13 Posts

    Re: Character encoding problem Link to this post

    Did you find the solution? i have same problem.
    accented character appears ok in database but not in CMS?¿?¿

  • Hammy
    Avatar
    Community Member
    49 Posts

    Re: Character encoding problem Link to this post

    Emms - Have you tried adding the following into the html code "&#257". So, for example, to write the word Māori, you would change the 'a' in the word to the code ā, giving Māori.

    This should be entered into the html code via the wysiwyg in silverstripe admin.

    More information can be found here about special maori characters:
    http://www.geocities.com/Athens/Academy/4038/encode.htm

    carlossg - For other special html characters, try the following:
    http://www.webmonkey.com/reference/Special_Characters

    2380 Views
Page: 1
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.