Hallo,
bei allen Exporttools vom neuen Shop werden mir die Umlaute falsch exportiert. Im alten Shop gehts noch ohne Probleme. Im Shop selber wird alles richtig dargestellt.
Export mit falschen Umlauten
-
-
Ich sehr gerade dass die products_description als einzige Tabelle in utf8 angelegt ist, alle anderen in latin1_swedish.
Kann das der Fehler sein? -
Nein das glaube ich nicht, denn bei uns sind alle Tabellen in UTF8, aber beim Export sind entweder die Beschreibung oder der Titel mit falschen Umlauten. Im Shop wird auch alles richtig dargestellt.
-
Dann würde ich mal auf die Exportdateien tippen. Stellt sich die Frage ab die erstellte Datei im UTF8 Format vorliegt.
-
Naja, wer sollte das wissen, wenn nicht Hr. Siekiera?
Nee, die erstellte Datei ist im .csv-Format.
Nutzt hier sonst niemand die Exportmodule? -
Gegenfrage: gibt es jemanden bei dem es richtig exportiert wird?
-
Habe in den export-Dateien folgendes geändert:
// remove trash
$products_description = str_replace("<br>"," ",$products_description);
$products_description = str_replace("<br />"," ",$products_description);
$products_description = strip_tags($products['products_description']);
$products_description = str_replace(";",", ",$products_description);
$products_description = str_replace("'",", ",$products_description);
$products_description = str_replace("\n"," ",$products_description);
$products_description = str_replace("\r"," ",$products_description);
$products_description = str_replace("\t"," ",$products_description);
$products_description = str_replace("\v"," ",$products_description);
$products_description = str_replace("","," \"",$products_description);
$products_description = str_replace("&qout,"," \"",$products_description);
$products_description = str_replace("ü, ","ü",$products_description);
$products_description = str_replace("Ü, ","Ü",$products_description);
$products_description = str_replace("ö, ","ö",$products_description);
$products_description = str_replace("Ö, ","Ö",$products_description);
$products_description = str_replace("ä, ","ä",$products_description);
$products_description = str_replace("Ä, ","Ä",$products_description);
$products_description = str_replace("ß, ","ß",$products_description);
$products_description = str_replace(chr(13)," ",$products_description);
$products_description = substr($products_description, 0, 65536);
$cat = $this->buildCAT($categories);