When exporting the database "don't" changes to "Don’t" please help!!!

Discussion in 'Databases' started by articledirectory, Jun 11, 2008.

  1. #1
    When exporting the database "don't" changes to "Don’t" and other words gets messed up, the database is using UTF-8 General and i am exporting through phpmyadmin, a complete uncompressed export with all default settings, i am trying another export with "Disable foreign key checks" selected.

    Does anyone have any suggestions on whats going wrong?
     
    articledirectory, Jun 11, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    its basically the character set thats causing problem

    Regards

    Alex
     
    kmap, Jun 11, 2008 IP
  3. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #3
    OK, so how do i export it without it messing up?
     
    articledirectory, Jun 11, 2008 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    Figure out what char set the database tables are in. Verify on a table level that they are in UTF-8. The database can be set to UTF-8 by default while individual tables are set to latin1 or something else.
     
    jestep, Jun 11, 2008 IP
  5. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I see...

    so although the main datbase is saying UTF-8 the tables are actually saying latin1_swedish_ci

    so what do i need to do to export them without the data messing up, do i change the tables to UTF-8? or something else?
     
    articledirectory, Jun 11, 2008 IP
  6. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I have changed all my tables from latin1_swedish_ci to utf-8_unicode_ci
    done a fresh export and its still getting all messed up, need some more suggestions.
     
    articledirectory, Jun 11, 2008 IP