Question
Localisation and handling of German special characters
German special characters - such as "ö", "ä", etc. - are replaced by
TinyMCE during edit mode. For instance "öäöäöäöäöä" will be replaced by "öäöäöäöäö". In Raw edit the problem doesn't occur.
Current system settings are as follows:
#locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
en_GB.utf8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
german
POSIX
The relevant settings in LocalSite.cfg
$TWiki::cfg{Site}{Locale} = 'de_DE.utf8';
$TWiki::cfg{Site}{LocaleRegexes} = 1;
$TWiki::cfg{UpperNational} = '';
$TWiki::cfg{LowerNational} = '';
$TWiki::cfg{PluralToSingular} = 1;
$TWiki::cfg{Site}{CharSet} = 'UTF-8';
$TWiki::cfg{Site}{Lang} = 'en';
$TWiki::cfg{Site}{FullLang} = 'en-us';
$TWiki::cfg{UseLocale} = 1;
$TWiki::cfg{UserInterfaceInternationalisation} = 0;
The change to UTF-8 - however - only shifts the problem. Special characters are then displayed as
����������������
in view as well as in edit mode.
Special characters reappear if the browser is manually set back to "Western European" (ISO) - though the source code indicates in the header "meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
Environment
--
FritzSchmidt - 07 May 2008
Answer
Can reproduce the problem with your settings. Still investigating. By the way: Everything works correctly with
$TWiki::cfg{Site}{Locale} = 'de_DE.iso885915@euro';
$TWiki::cfg{Site}{CharSet} = 'iso-8859-15';
Do you really need utf8?
--
OliverKrueger - 08 May 2008
Manually re-installing
TinyMCEPlugin and
WysiwygPlugin from the console solved the problem.
--
FritzSchmidt - 08 May 2008
Yes, CDot made some recent bugfixes to these two components. Updating to the latest versions is always a good idea.
--
OliverKrueger - 08 May 2008