Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Posts
    14
    Plugin Contributions
    0

    Default Zen Cart with UTF-8 database

    Hi,

    I've installed Zen Cart 1.3.7.1 on Red Hat Enteprise Linux 4 with Plesk 8.1 (control panel), PHP 4.3.9 and MySQL 4.1.x.

    I've noticed that the ZC db (created through Plesk) is using UTF-8 as charset, instead of the usual ISO-8859-1.

    So far my Zen Cart installation is working fine, but I'm afraid that something may break in the future (especially when handling non-ASCII characters) due to the fact that the Zen Cart PHP application is using ISO-8859-1 as charset while the MySQL db is using UTF-8.

    Should I re-install ZC using an ISO-8859-1 db instead to be on the safe side?

    Or is it safe to keep the current setup?

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Zen Cart with UTF-8 database

    If this is an english only site you should be ok - there are issues with altering an existing DB's colliation and one can get many strange characters if you are not careful. Select one and stick with it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Zen Cart with UTF-8 database

    Hi,

    Since this is a new ZC installation, I can still drop the db and create it from scratch using ISO-8859-1 if that is a safer choice.

    What do you think?

    Thanks.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Zen Cart with UTF-8 database

    This really depends on the default that your host has set...if like cpanel then the oneclick backups are saved in the default colliation and this can be problematic for some.

    I would determine the default and use that unless you require multi language
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Zen Cart with UTF-8 database

    Quote Originally Posted by kobra View Post
    This really depends on the default that your host has set...

    What do you mean exactly with the default that my host has set?

    Thanks.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Zen Cart with UTF-8 database

    What do you mean exactly with the default that my host has set?
    When the mysql is installed as part of the system - the host in this case can set or configure mysql with a default colliation. Then if this is a cPanel account or Plesk and probably others - the backup facility provided in these uses the default.

    If you use phpmyadmin to create the backups you can set the colliation used for the backup.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. UTF-8 Zen-Cart Tutorial for v1.3.x
    By CrystalKoi in forum Addon Language Packs
    Replies: 144
    Last Post: 17 Jan 2012, 02:15 PM
  2. Desperate for help - Zen Cart / PHP 5 / UTF-8 issues
    By gingabox in forum General Questions
    Replies: 13
    Last Post: 15 Jun 2010, 05:45 AM
  3. install zen cart with old database
    By chadkan in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2009, 12:21 AM
  4. Is it possible to combine zen cart with existing shop database
    By optimalwebsite in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2008, 02:59 PM
  5. Config Amazon database with Zen Cart ?
    By eaglerock in forum General Questions
    Replies: 3
    Last Post: 10 Sep 2007, 09:32 PM

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