Forums

[resolved] Strange behaviour with "german Umlaute" in Tags-Quicklinks (2 posts)

  1. UnderWordPressure
    Member
    Posted 3 years ago #

    Hello all and happy new year,
    I have some trouble with the (german) wordpress version 2.7.
    On my local developer installation everything is okay.
    But on my web installation the encoding of "german umlaute" are wrong.
    This concerns ONLY in the tag quicklinks, all other german umlaute are okay.

    Both MySQL databases work with UTF-8.
    Both WordPress versions are identical.
    If all tests on my developer installation works fine, I copy the code to the webserver so it must be identical.

    Anyone have any ideas?

    See screenshots for explanation.
    http://landfrauen-gifhorn.de/ablage/wp2.7-tags-quicklinks-bad.jpg
    http://landfrauen-gifhorn.de/ablage/wp2.7-tags-quicklinks-good.jpg

    TIA

  2. UnderWordPressure
    Member
    Posted 3 years ago #

    Thanks to all, I've solved the problem by myself.

    File: wp-admin/admin-ajax.php

    ...
    ...
     require_once('includes/admin.php');
    
     //The content-type header was missing.
     //
     header('Content-Type:text/html; charset='.get_option('blog_charset'));
    
     if ( ! is_user_logged_in() ) {
    ...
    ...

Topic Closed

This topic has been closed to new replies.

About this Topic