WordPress.org

Ready to get started?Download WordPress

Forums

Every WP update again breaks Unicode support!!! (2 posts)

  1. Guntis
    Member
    Posted 6 years ago #

    When will you finally include Unicode db connection strings in wp-settings.php?
    The very end of the file should look like this:

    // Everything is loaded and initialized.
    do_action('init');
    mysql_query("SET CHARACTER SET utf8");
    mysql_query("SET NAMES utf8");

    ?>

    Without mysql_query("SET CHARACTER SET utf8"); and mysql_query("SET NAMES utf8"); commands my web page doesn't show Unicode characters, but garbage. And it happens since WP introduced Unicode. Can you finally include these two strings in the default setup?

  2. MichaelH
    Member
    Posted 6 years ago #

    Doesn't WordPress do that in wp-db.php as a result of the settings in wp-config.php?

    Editing wp-config.php

Topic Closed

This topic has been closed to new replies.

About this Topic