Konfigurations-Einträge

Es kommt immer wieder zu Konflikten mit Sonderzeichen, weil halt einige der meist amerikanischen Entwickler nicht begriffen haben, daß die Module und die Tabellen-Inhalte in UTF-8 verfaßt sein sollten.

Nun gibt es für deutsche Seiten eine Konfigurations-Anweisung, die bei manchen Dingen vielleicht helfen könnte:

in der config.php folgende Einträge anpassen. Ob es Sinn macht, die zwei letzten Einträge auch auf utf-8 zu setzen, weiß ich nicht. Werde ich ausprobieren.

#------------------------
#Locale/Encoding Settings
#------------------------

#Locale to use for various default date handling functions, etc.  Leaving
#this blank will use the server's default.  This might not be good if the
#site is hosted in a different country than it's intended audience.
# $config['locale'] = '';
$config['locale'] = 'de_DE.UTF8';

#In almost all cases, default_encoding should be empty (which defaults to utf-8)
#and admin_encoding should be utf-8.  If you'd like this to be different, change
#both.  Keep in mind, however, that the admin interface translations are all in
#utf-8, and will be converted on the fly to match the admin_encoding.  This
#could seriously slow down the admin interfaces for users.
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';

Zuletzt aktualisiert am 2.02.2010