Converting WordPress Collation to UTF8
Post Info Monday, July 13th, 2009 11:24 am by Cody Print Print this page

For some foolish reason, the recent upgrades to WordPress 2.8 and 2.7 changes the collation of the database tables.  This results in the removal of special characters like Japanese, Chinese, or Korean.  All your characters would be lost if you upgraded because the collation is  latin1_swedish_ci instead of utf8_general_ci.  You’re lucky if you hadn’t used those characters before, but if you are planning to in the future, you can update your collation to UTF8 by running the following SQL queries in PHPMyAdmin:

ALTER TABLE wp_comments DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_links DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_options DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_postmeta DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_posts DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_terms DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_term_relationships DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_term_taxonomy DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_usermeta DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE wp_users DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

28 Responses to “ Converting WordPress Collation to UTF8 ”

  1. LARRY


    Medicamentspot.com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. High quality pills. Order drugs online

    Buy:Arimidex.Mega Hoodia.Valtrex.Prevacid.Actos.Petcam (Metacam) Oral Suspension.Zovirax.100% Pure Okinawan Coral Calcium.Prednisolone.Lumigan.Accutane.Zyban.Synthroid.Human Growth Hormone.Retin-A.Nexium….

  2. GARY


    CheapTabletsOnline.Com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. No prescription drugs. Buy drugs online

    Buy:Zetia.Acomplia.Prozac.SleepWell.Advair.Amoxicillin.Wellbutrin SR.Lipitor.Lasix.Female Pink Viagra.Female Cialis.Nymphomax.Buspar.Seroquel.Zocor.Ventolin.Benicar.Aricept.Cozaar.Lipothin….

  3. SHANE


    CheapTabletsOnline.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. Online Pharmacy. Order drugs online

    Buy:Cialis.Soma.Cialis Professional.Super Active ED Pack.Cialis Super Active+.Viagra Super Active+.Propecia.Cialis Soft Tabs.Tramadol.Viagra Super Force.Viagra Soft Tabs.Viagra Professional.Zithromax.VPXL.Maxaman.Viagra.Levitra….

  4. DENNIS


    NEW FASHION store. Original designers collection at low prices!!! 20 % TO 70 % OFF. END OF SEASON SALE!!!

    BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…

  5. JEFFREY

    cephalexin dosage for dogs

    Buygeneric drugs…

  6. SERGIO

    JEROME

    SIDNEY

    CECIL

    LUKE

    KIRK

    PHILIP

    side effects zyprexa overdose breathing autonomic

    Buyno prescription…

  7. DANIEL

    xopenex coupon

    Buyno prescription…

  8. RONNIE

    zyprexa increase eps complaints

    Buyno prescription…

  9. FERNANDO

    Rogaine

    Buyno prescription…

  10. ANDRE

    Seroquel

    Buywithout prescription…

  11. VIRGIL

    Synthroid

    Buywithout prescription…

  12. TYRONE

    Zyprexa

    Buyno prescription…

  13. MARION

    Purim

    Buyno prescription…

  14. ALFREDO

    Reglan…

    Buywithout prescription…

  15. ADRIAN

    JIMMIE

    EARL

    ERIK

    JIMMY

    WILLIE

    BENJAMIN

    JIMMY