Support » Fixing WordPress » wp_backup is not creating utf8 files

  • Resolved snakefoot

    (@snakefoot)


    Have been making backups of my blog database from 2.0.5 and now with 2.0.7.

    Can see that the sql-file in my early backups are encoded in UTF8, and now the backups are encoded as ANSI.

    When performing an import from phpMyAdmin then it complains about special characters (Are able to import by changing the encoding of the sql file to UTF8 using Notepad).

    What has happened to the sql-file encoding ?

Viewing 1 replies (of 1 total)
  • Well converted all my tables to UTF8-unicode and added the following line to wp_db.php:

    mysql_query(“SET NAMES ‘utf8′”);

    ( Just above $this->select($dbname) )

    Now my wp_backup saves as UTF8 again, and the encoding looks good.

Viewing 1 replies (of 1 total)
  • The topic ‘wp_backup is not creating utf8 files’ is closed to new replies.