Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Database corrupted when exported

    When I export mySQL database in phpMyAdmin, certain characters are corrupted in the text file that is created. For example, the danish characters å,ø,æ are saved out as Ø, ø, Æ

    Other characters like ½ and ™ are displayed like ½ and ™.

    It has been like this from the beginning and it requires me to go in and find/replace each of these bizarro characters with the real ones. But, I'd love to figure out why this is happening and solve the problem.

    I'm using latin1_danish_ci collation and 'da_DK.ISO_8859-1' and 'en_US.ISO_8859-1' in the language defines.

    Does anyone have any ideas?
    Currently using ZEN CART v. 1.3.6

  2. #2
    Join Date
    Aug 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Database corrupted when exported

    Hmm. Lots of character set problems today. I think the data is probably fine, but whatever you're using to display the data isn't picking up the encoding of your export file. In other words, character encodings use the same byte sequences to display different things, so if you make sure that your export is really an extended ISO-8859-1 and your display is the same encoding, everything should display correctly. You might address this problem by using Unicode (UTF-8).

    You should be able to use iconv to convert between character sets, so that might save you the extra work if you don't want to find the source of the problem.

    http://www.gnu.org/software/libiconv/

  3. #3
    Join Date
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: Database corrupted when exported

    Try the collation settings for utf8_danish_ci.
    Might work for you

 

 

Similar Threads

  1. v153 Corrupted product database entry leads to blank product listings
    By delia in forum General Questions
    Replies: 72
    Last Post: 13 Apr 2016, 10:31 PM
  2. Replies: 1
    Last Post: 31 Oct 2014, 11:48 PM
  3. database shows different versions when exported then imported
    By kneel999 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Aug 2011, 06:56 PM
  4. Remove Corrupted Customers from database
    By cotswold in forum General Questions
    Replies: 1
    Last Post: 5 Nov 2009, 02:34 AM
  5. Database is corrupted?
    By blueskymama in forum General Questions
    Replies: 2
    Last Post: 1 Apr 2007, 12:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR