• Resolved Parakoos

    (@parakoos)


    Hello,

    I am moving my site from one server to another. I zipped up all my files on my server, unzipped them on the new server, created an empty database for the new installation, edited the wp-config.php file to point to the new database.

    To move the database, I used the WP2DB backups. I edited the initial ‘CREATE DATABASE’ and ‘USE DATABASE’ statements to point to my new database and then imported the files. Everything seemingly went OK, with one exception. Every single apostrophe, or single quote, has been turned into a question mark in a black diamond when viewed in the browser. The apostrophes look OK in the database, however.

    I thought it might have something to do with the character sets:
    http://codex.wordpress.org/Converting_Database_Character_Sets

    But, I’ve inspected the databases, both old and new, and they both use utf8 as a character set and utf8_general_ci as the collation.

    Any clue what might be going on?

    http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/

Viewing 1 replies (of 1 total)
  • Thread Starter Parakoos

    (@parakoos)

    OK, I fixed it. (great when support tickets fix themselves, right?)

    I added this to my wp-config.php:

    define( 'DB_CHARSET', 'utf8' );
    define( 'DB_COLLATE', 'utf8_general_ci' );

    Worked for me!

Viewing 1 replies (of 1 total)
  • The topic ‘Single quotes become questionmark after moving the DB’ is closed to new replies.