Tags:
create new tag
view all tags

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. smile

-- OliverKrueger - 08 May 2008

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-05-08 - OliverKrueger
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.