Strict Standards: Redefining already defined constructor for class wpdb in /www/htdocs/w007debd/wordpress/wp-includes/wp-db.php on line 46

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w007debd/wordpress/wp-includes/cache.php on line 35

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /www/htdocs/w007debd/wordpress/wp-includes/cache.php on line 410

Deprecated: Function split() is deprecated in /www/htdocs/w007debd/wordpress/wp-content/plugins/mygallery/mygallery.php on line 435

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w007debd/wordpress/wp-content/plugins/timezone.php on line 153

Deprecated: Function eregi() is deprecated in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player.php on line 30
Goedde’s Blog » Blog Archive » Zeichensatz-Problem - Hiiiiiilfe!
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method xspf_player::header() should not be called statically in /www/htdocs/w007debd/wordpress/wp-includes/functions.php on line 1329
Subscribe to
Posts
Comments

Zeichensatz-Problem - Hiiiiiilfe!


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method xspf_player::inline_insert() should not be called statically in /www/htdocs/w007debd/wordpress/wp-includes/functions.php on line 1252

Strict Standards: Non-static method xspf_player::tag_split() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1259

Strict Standards: Non-static method xspf_player::tag() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 86

Strict Standards: Non-static method xspf_player::tag() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1263

Strict Standards: Non-static method xspf_player::saver() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1265

Strict Standards: Non-static method xspf_player::tag_match() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1273

Strict Standards: Non-static method xspf_player::tag() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 97

Strict Standards: Non-static method xspf_player::saver() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1285

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-content/plugins/thumbnail-viewer/wp-thumbnailviewer.php on line 78

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method xspf_player::inline_insert_after() should not be called statically in /www/htdocs/w007debd/wordpress/wp-includes/functions.php on line 1252

Strict Standards: Non-static method xspf_player::tag_split() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1295

Strict Standards: Non-static method xspf_player::tag() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 86

Strict Standards: Non-static method xspf_player::saver() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1298

Strict Standards: Non-static method xspf_player::tag_match() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 1303

Strict Standards: Non-static method xspf_player::tag() should not be called statically in /www/htdocs/w007debd/wordpress/wp-content/plugins/xspf_player/xspf_player_class.php on line 97

Hatte von Matze vin Goole Analytics gehört und wollte das bei mir implementieren. Hatte den kleinen Code wie gefordert in die index.html gestzt, was auch funktionierte. Um sicherzugehen hab ich ihn auch in die index.php von wordpress gesetzt. Das war wohl keine gute Idee. Ich habs zwar wieder rausgenommen, aber seit dem hat sich irgedwie mein Zeichensatz verstellt. Was mit Umlauten passiert, ist an den Täst-Kategorien ersichtlich. Innerhalb der normalen Texte wie diesem wird das jetzt mit einem Plugin namens o42-clean-umlauts für den Betrachter konvertiert. Aber andere Bereiche wie die Kategorien bleiben falsch.

Jetzt hab ich mich mal manuell in die SQL-Datenbank gewagt. Hier kann ich zumindest manuell die Eintragungen wieder korrigieren (daher wird die eine Kategorie “täst” richtig angezeigt), aber das ist ja nicht die wirklich tolle Lösung, jedesmal wenn ich irgendwo außerhalb der normalen Posts und Comments Umlaute benutze, erstmal in die Datenbank muss. Und auch die normalen Texte haben hier falshce Umlaute (nur durch dieses 042-plugin seht ihr hier Ä, Ü, Ö und ß). Interessant: hier im Wordpress-Editor (oder wie man das nennt, wo ich gerade schreibe), werden die in der Datenbank manuell veränderten Eintragungen jetzt fehlerhaft angezeigt. Siehe

Jedenfalls ist hier in Wordpress UTF-8 angegeben. In der SQL-Datenbank ist als Sprache de-utf-8 angegeben, als MySQL-Zeichensatz utf8 und den Zeichensatz der MySQL-Verbindung hab ich mal testweise von utf8_general_ci auf utf8_unicode-ci gestellt, hat aber nichts gebracht.

Auch das Einstellen von der Kollation des Feldes cat_name hat nichts gebracht:

Beim Anlegen einer neuen Kategorie wie “Täst5″ kommt hat immernoch sowas bei raus:

Also ich weiß nicht weiter, irgendwo gibt es zwischen wordpress und der Datenbank ein Zeichensatz-Problem, aber wo???

Achso. In meiner wp-config steht das hier:

“// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (’WPLANG’, ‘de’);”

Erm, ich hab nichtmal nen Ordner languages in wp-includes…

Also, es ist jetzt nach 14 Uhr und ich sitze immernoch halbnackt vorm Rechner. Ich hoffe, dass jemand von Euch da vielleicht weiterhelfen kann? Ich muss jetzt jedenfalls erstmal duschen und frühstücken….

8 Responses to “Zeichensatz-Problem - Hiiiiiilfe!”

  1. on 28 Jan 2007 at 6:15 pmSteffen

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    UTF-8 ist schon richtig, damit gehen deutsche Umlaute. Lösche die Kategorien und tipp sie nochmal, müsste doch gehen. Den “language” Ordner musst du selbst erstellen, wenn du ihn brauchst. Gruß, Steffen

    P.S.: Warum liegt hier eigentlich Stroh?!?

  2. on 28 Jan 2007 at 7:23 pmNils

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Ne, da liegt irgendwas immernoch im Argen. Ich habs ja immerwieder, wenn ich was geändert habe wieder ausprobiert (daher gibts ja auch Täst 2-5), aber die Umlaute aus dem Wordpress kommen immernoch falsch in der Datenbank an und umgekehrt.

    Dass mit diesem language-Ordner werd ich mir wohl mal ansehen müssen, vielleicht geht da ja irgendwie was…

    P.S.: Keine Ahnung, aber warum trägst du sone Maske?!?

  3. on 29 Jan 2007 at 11:07 pmDavid

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Wie ich schon im ICQ geschrieben hab. Einfach mal Wordpress neu drüberbüglen, aber vorher das Template sichern. Ich versteh nur net, wieso Google-Analytics da was verändert habe sollte. Das muss auf jeden Fall in die index.php, weil es muss ja immer mit aufgerufen werden, sonst hat der ja nix zum Analysieren. Es ist eher unwahrscheinlich dass es daran liegt, weil ich das in meinen 3 Worpresses auch drin hab.

  4. on 29 Jan 2007 at 11:54 pmDavid

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Okay,

    also nach angucken deines Stuffs ist mir folgendes aufgefallen:

    - Die gutsten Browser ignorieren die Angabe, dass es UTF-8 codiert ist und lesen des fleißig mit der Codierung Westlich also dem ISO-8859-1
    - du hast ein div in der index.php von deinem Theme nicht richtig geschlossen
    - du hast das Google-Analyticx nicht in der footer.php drin
    - du hast dir deine index.htm ein bissel zerschossen

    Näheres dann nur bei Milch und Kuchen ;-)

  5. on 05 Feb 2007 at 11:09 pmSteffen

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Thx für den Link!

  6. on 06 Feb 2007 at 7:29 pmNils

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Hehe, musste ja, nachdem ich schon ewig bei dir verlinkt bin! :)

  7. on 12 Feb 2007 at 12:48 amDavid

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Na wann haste denn das Probelm behoben?

  8. on 12 Feb 2007 at 7:12 pmNils

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w007debd/wordpress/wp-includes/functions-formatting.php on line 83

    Wenn ich mal wieder zu viel Zeit habe, also irgendwann ab dem 24.02. :)

Leave a Reply


Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w007debd/wordpress/wp-includes/wp-db.php:46) in Unknown on line 0