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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Maori macron problems

Go to End

11 Posts   7428 Views


Community Member, 9 Posts

1 April 2008 at 4:30pm

Hi guys
Im having issues trying to get macronised characters to show on my live site (Ā, ā are displaying as ??). Any info I can find on the subject just says to make sure everything is set to Unicode, which it is.. So I'm not sure what the problem is...

I thought it might be the database, however have gone in and changed that to utf8-unicode and there is no change... Other accented characters show up fine - it is just these ones that are giving me big problems :'(

Please help!


Administrator, 690 Posts

1 April 2008 at 5:21pm

Edited: 01/04/2008 5:22pm

Have you tried browsing the site from different computers and/or browsers?

Does the problem appear in both the CMS and the site?

What are the content type meta tags in your template set to?

What does the "page info" section of your browser think that the character set is?


Community Member, 9 Posts

2 April 2008 at 9:02am

Yes, it shows up in different computers and browsers. The characters show up perfectly in the CMS but come out as ?? on the live site.. Meta tags are set to utf-8, and page info says its utf-8 also.


Community Member, 15 Posts

2 April 2008 at 1:37pm

There are other things to check (if you haven't already)

* In MySQL to comprehesnviely set UTF-8:
- in my.cnf:


Ensure the following when you issue:

#>SHOW VARIABLES LIKE 'character\_set\_%';
| Variable_name | Value |
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |

Check also:

* The Content-Type as specified by your webserver
* The Content-Type as specified in the <form> element on the page of the CMS you wrote your Maori language in. See here for more info:



Community Member, 9 Posts

4 April 2008 at 10:22am

Thanks for the reply Russ, I have made sure that all of the tables in mySQL are set to UTF-8.

The CMS form where I am entering my info does not have a content type specified within the form element but the head of the page states UTF-8..

One thing I have noticed is that when I enter the characters into the CMS and click Save&Publish it is fine, but as soon as a page refresh or log out and back in again, they are showing as ??'s in the CMS as well.


Community Member, 15 Posts

4 April 2008 at 10:30am

Hmm, do you have a link so I can take a look? I might be able to replicate it..

Otheriwse, try re-posting your issue onto the "bugs (temp)" forum describing your problem again and paste a link to this thread. If no-one replies within a couple of days, I would open a new Trac bug ticket ( as it sounds to me like something the developers need to check out. (Without my knowing of course your exact setup - which you'd of course need to post with your tiocket too :-)

Sorry I can't be of more help. Good luck. :-)


Community Member, 9 Posts

4 April 2008 at 10:43am

Heres a link to a page I have been testing on:

The line of ??'s after "Directed by Leo Gene Peters" is what resulted after typing in a bunch of ā's.

Thanks for the help, appreciate it!


Community Member, 15 Posts

4 April 2008 at 11:43am

This is a test...last time the forum died...

Go to Top