10842 Posts in 2512 Topics by 1792 members
|Go to End|
11 January 2010 at 4:48am
with <?xml version="1.0" encoding="UTF-8"?> in page.ss.
The geman umlauts, for example MÃ¤rz (March) are not shown correctly and the effect is that i get a 'XML Parsing Error: not well-formed' because MÃ¤rz is handled as Mï¿¿r. I have no idea where to tackle it...
11 January 2010 at 4:59am
try to put
in your mysite/config.php. At least worked for me.
11 January 2010 at 5:25am
I have revised this entry.
works now fine, thanks a lot.
18 March 2011 at 3:33am Last edited: 18 March 2011 4:28am
I use the tip of matthiasmex. This is problem still stand in my current silverstripe-insatllation. my _config.php looks like this.
Its a strange thing that this umlautproblem only occurs on the monthselection (header above the calandartable) in the LiveCalendarWidget.
The translation of March is shown as "M�rz". The optionset below the table is working fine. No misspelled März.
I got no clue, where to track this error or to change the code effecting this.
Thanks for your help. Thomas
[Edit] It seems it effects only the $CalendarWidget and not the $LiveCalendarWidget.
10 November 2011 at 11:09am
I also had the Umlaut problem. Finally I found the function i18n_date() in CalendarUtil.php. I changed it like this:
public static function i18n_date($char, $ts)
// Need to figure out how we're handling non- UTF-8 users.
return utf8_encode(strftime($char, $ts));
This works for me.
|Go to Top|