17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2339 Views |
-
Problem with encoding in the CMS

12 November 2007 at 12:43pm
Hello everyone!
I got a problem about the charset encoding in the CMS. I tried the "ContentNegotiator::set_encoding('iso-8859-1');" in "\mysite\_config.php" But that only worked for the published site.I need to set the encoding for both the published site and the cms controlpanel. can anyone help me with this?
thanks in advance
-
Re: Problem with encoding in the CMS

12 November 2007 at 1:03pm
I managed to change the encoding in the "\cms\LeftAndMain.ss" template. However, my problem is not solved after all.
The reason I wanted to change the encoding was because every time I used Norwegian characters as the page name, It rendered as gibberish which it still does :s
Ã¥ (å) transformed to Ã¥ and so on... If anyone has a solution to this problem I would deeply appreciate some help
Regards
-
Re: Problem with encoding in the CMS

12 November 2007 at 4:47pm Last edited: 12 November 2007 5:57pm
Your best bet may be to wait for SilverStripe 2.2 which has full multilingual support. The first release candidate will be out this week.
-
Re: Problem with encoding in the CMS

12 November 2007 at 10:02pm
even while 2.2 has multilingual support, it will still view and store all strings as utf8 (unicode). we don't provide facilities for characterset-conversion out of the box, you're best bet is to got unicode all the way. you might want to check that your rendered site is actually interpreted as unicode (e.g in firefox page information).
| 2339 Views | ||
|
Page:
1
|
Go to Top |



