17487 Posts in 4473 Topics by 1978 members
Page: 1 2
|Go to End||Next >|
1 April 2008 at 4:30pm
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 :'(
1 April 2008 at 5:21pm Last edited: 1 April 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?
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.
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 |
* 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: http://www.w3schools.com/tags/tag_form.asp
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.
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 (open.silverstripe.com) 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.
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!
4 April 2008 at 11:43am
This is a test...last time the forum died...
Page: 1 2
|Go to Top||Next >|