Hi,
Marc Patermann schrieb (02.02.2015 11:01 Uhr):
I have a little old and well used Mediawiki installation, which has to be migrated. The old installation is version 1.12.0 with php 5.1 and mysql 5.0. The new one is php 5.3.17 and mysql 5.5.31, I tried Mediawiki 1.24.1.
I got the database migrated by now.
The new situation is, that the Umlauts/die Umlaute äüö und ß in my wiki pages are broken.
The html on old an new is transfered as UTF-8: old: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> new: <html lang="de" dir="ltr" class="client-nojs"> <head> <meta charset="UTF-8" /> <title>Wiki der Systembereich IuK</title> <meta name="generator" content="MediaWiki 1.24.1" />
The database is the same type too: mysql> SELECT @@character_set_database, @@collation_database; +--------------------------+----------------------+ | @@character_set_database | @@collation_database | +--------------------------+----------------------+ | latin1 | latin1_swedish_ci | +--------------------------+----------------------+ 1 row in set (0.00 sec) new: mysql> SELECT @@character_set_database, @@collation_database; +--------------------------+----------------------+ | @@character_set_database | @@collation_database | +--------------------------+----------------------+ | latin1 | latin1_swedish_ci | +--------------------------+----------------------+ 1 row in set (0.00 sec)
LC_CTYPE=de_DE.UTF-8 is set on both servers.
I switched $wgDBTableOptions with no success.
How can I correct this?
Marc