Antwort #49 am: 06. März 2021, 17:33:48
Vielen Dank Karl, ich hatte die Datei
convert_to_utf8.php<?php
include 'includes/application_top.php';
//BOC set all tables to collation utf8_general_ci and convert contents to utf8, noRiddle
$query = xtc_db_query("SHOW TABLES");
$fail=false;
while ($result = xtc_db_fetch_array($query)) {
foreach ($result as $key => $table) {
if(xtc_db_query("ALTER TABLE " . $table . " CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci")) {
echo $key . ' » ' . $table . ': - converted to UTF-8 and collation utf8_general_ci <br />';
xtc_db_query("ALTER TABLE " . $table . " COLLATE utf8_general_ci");
} else {
echo $key . ' » ' . $table . ': - conversion to UTF-8 and collation utf8_general_ci failed <br />';
$fail=true;
}
}
}
if (!$fail) {
if ( xtc_db_query("ALTER DATABASE " . DB_DATABASE . " DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci")) {
echo "Datenbank konvertiert <br />";
} else {
echo "Datenbank konvertierung fehlgeschlagen <br />";
}
}
//EOC set all tables to collation utf8_general_ci and convert contents to utf8, noRiddle
?>
hier im Forum gefunden und ausführen lassen, das Script meldete Vollzug, aber die Typisierung "MyISAM" wurde nicht verändert.
Dein Script hat das jetzt aber geändert, jetzt steht überall "InnoDB"
Das utf-8 in der includes/configure.php habe ich wieder auf utf8 geändert, die htaccess steht auf UTF-8 und die Sprachen im Backend auf utf-8
aber im Blog vom Backend habe ich Umlautfehler
Aber vielleicht ist das auch ein lokales xampp Problem, der sich schon im Internet installierte, aber noch abgeschaltete 2.0.5.1
mit jungfräulicher DB zeigt den Blog korrekt an.
P.S.
Eigenartigerweise hat nur der Blog einschl. der Threads Umlautprobleme, Online, Bestellungen, Kunden und Statistik werden korrekt "verumlautet"