Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 48
  1. #21
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Special characters messed up in ZC Admin

    When you are running the backup of the database into the new blank database via phpMyAdmin make sure to select Latin 1 as the collation.

    Your new host is probably using utf8 as the default character set - and that's why Spanish language special characters are becoming corrupted.

    utf8 is what everyone will be using eventually, but it's creating havoc with databases that were first compiled in Latin1 or en-iso-8859 (same thing).

    Vger

  2. #22
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: Special characters messed up in ZC Admin

    i had originally done utf8 but re imported with latin1 and that fixed my issue.
    thanks :)

    en-iso-8859 sounds familiar. i think thats what it was set to in my old database.

  3. #23
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: Special characters messed up in ZC Admin

    Ok I found a reference to iso-8859-1 on my spanish.php language file.

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    Can I change it to latin1?

  4. #24
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Special characters messed up in ZC Admin

    iso-8859-1 and Latin1 are the same - no need to change anything.

    Vger

  5. #25
    Join Date
    Oct 2006
    Location
    Christchurch, New Zealand
    Posts
    44
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    Just for the benefit of others, the reference above to
    It will be in the bottom of admin/includes/init_templates.php in the next release.
    by DrByte should probably be
    /admin/includes/init_includes/init_templates.php, as that's where I found it.

    CHARSET appears to be set in includes/languages/english.php and /admin/includes/languages/english.php:

    Code:
     // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');
    bikemike
    'If language is not used correctly, what is said is not what is meant. If what is said is not what is meant, what ought to be done remains undone' Kǒng fū zǐ

  6. #26
    Join Date
    Apr 2005
    Location
    Minnesota
    Posts
    68
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    I'm having a similar issue. I am migrating hosting companies and upgrading from 1.2.7 to 1.3.6 all at the same time. The shop is primarily English with some Japanese, and I prefer to use UTF for encoding.

    i've set the CHARSET define in both admin and catalog areaa to UTF-8. And the pages seem to be loading as such. I've uploaded the DB from the old hosting company to the new in UTF-8. Japanese characters show up in phpmyadmin correctly in new hosting location.

    However, I get the customary ????? in both admin and catalog areas.

    Stats on new install:

    Database: MySQL 5.0.18-standard-log
    Server Date: 12/28/2006 11:56:15
    Database Date: 12/28/2006 11:56:15

    PHP Version: 4.4.4 (Zend: 1.3.0)
    HTTP Server: Apache/2.0.54 (Unix) PHP/4.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.1.4

    I have a short window to do this upgrade and transfer over the new year's holiday, so any help would be appreciated. Thanks in advance!
    Carly
    Sambu Kyuguten
    https://www.sambu-kyugu.com

  7. #27
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Special characters messed up in ZC Admin

    What's the MySQL and phpMyAdmin Default Character Set?

    Vger

  8. #28
    Join Date
    Apr 2005
    Location
    Minnesota
    Posts
    68
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    Default Char set for MySQL and phpMyAdmin are utf8_unicode_ci.

    I've also tried utf8_bin, but that didn't seem to have an effect.
    Carly
    Sambu Kyuguten
    https://www.sambu-kyugu.com

  9. #29
    Join Date
    Apr 2005
    Location
    Minnesota
    Posts
    68
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    I've entered a new test product on the new server with Japanese and English as a test. The Japanese shows up great in Admin and Catalog views, but is jumbled in phpMyAdmin. So clearly there is a mismatch of encoding somehow.

    Am I going to have to re-enter all of the Japanese on my site?
    Carly
    Sambu Kyuguten
    https://www.sambu-kyugu.com

  10. #30
    Join Date
    Apr 2005
    Location
    Minnesota
    Posts
    68
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    I got this figured out for me. It doesn't make sense, but it works for now.

    I saved the old DB and uploaded it to the new servers in Latin1. JPN doesn't display in phpMyAdmin, but works great on the catalog and in the admin. So I'm going with it for now.
    Carly
    Sambu Kyuguten
    https://www.sambu-kyugu.com

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. v155 Problems with special characters in my Admin
    By rotten in forum General Questions
    Replies: 23
    Last Post: 6 May 2020, 08:40 PM
  2. Replies: 2
    Last Post: 28 Jul 2011, 09:23 PM
  3. Special Characters in DB
    By weljkodj in forum General Questions
    Replies: 7
    Last Post: 30 Jun 2011, 03:29 PM
  4. Scandinavian characters messed up
    By ellivir in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 6 Oct 2006, 06:24 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