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.

Archive /

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

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

Character encoding problem


Reply


3 Posts   2481 Views

Avatar
Emms

Community Member, 9 Posts

13 March 2008 at 11:09am

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!

Avatar
carlossg

Community Member, 13 Posts

13 August 2008 at 6:20am

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

Avatar
Hammy

Community Member, 49 Posts

23 November 2008 at 12:07am

Edited: 23/11/2008 12:11am

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:
[url]http://www.geocities.com/Athens/Academy/4038/encode.htm[/url]

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