17452 Posts in 4473 Topics by 1971 members
|Go to End|
12 November 2007 at 12:43pm
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
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
Core Development Team
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.
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).
|Go to Top|