Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    2

    Exclamation Japanese characters lost in backup

    Hello,
    my hoster uses
    PHP version 4.3.11
    MySQL version 4.1.11-standard
    cPanel Build 10.2.0-CURRENT 131

    Today they had to restore a MySQL database with the inbuilt Restore Feature due to a MySQL server failure and the restored database, which contained western and asian characters, was partly corrupted.
    It turns out that many, but not all, Japanese double-byte characters were lost and converted to invalid entities.

    Do you have any advice for me how to proceed from here and what would be my best option to restore the backup correctly? Please ask me if you need more info.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    2

    Default

    Sorry, I already found the answer

    It's a problem of migrating from MySQL 4.0.x to 4.1.x
    The characters are all stored in UTF-8, but as a consequence of migrating from MySQL 4.0.x the tables are marked as latin1, which leads to a false interpretation of the codepage. The solution is to open the sql dump with a utf-8 capable editor and replace all occurrences of "latin1" with "utf-8".

Similar Threads & Tags
Similar threads

  1. addon domains lost during backup restore
    By whplus in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2009, 06:06 PM
  2. lost a site because of the BACKUP...!!!
    By mahdi1 in forum Data Protection
    Replies: 0
    Last Post: 07-04-2009, 06:28 AM
  3. MySQL lost priviledges due to suspend/unsuspend and backup/restore ?
    By WebHostDog in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-28-2009, 03:19 PM
  4. Japanese Skin
    By edesignway in forum Themes and Branding
    Replies: 8
    Last Post: 06-26-2004, 10:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube