Results 1 to 10 of 48

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Special characters messed up in ZC Admin

    I recently installed a fresh copy of 1.3.0.1 on a new webhost (linux virtual server) The special danish characters (å, ø, æ) are not displaying correctly in ZC admin. They are replaced by ? and gobbledy gook.

    I was plagued with similar problems in my database and on the webpages since installing, due to not using the right collation when creating the database. Over the last few days, I've managed to clear that up (with Absolute's kind help) but the problem in ZC Admin remains.

    If the info in the database is "Tilbehør", it'll display correctly on the webpage, but in ZC admin, it'll read "Tilbeh?>" If I edit that category and then save without touching the name, it'll then display on my website as "Tilbeh?>". If I fix the name in admin, it'll be incorrect on the webpage and in the database.

    I've tried to change the locale and charsets to everything I can think of, but nothing's worked.

    Here's some info on my new setup:
    PHP version: 4.4.2
    MySQL Version Reported = 4.1.18-standard
    HTTP_ACCEPT_LANGUAGE= "en-us,en;q=0.5"
    HTTP_ACCEPT_CHARSET= "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
    SERVER_SOFTWARE= "Apache/2.0.51 (Fedora)"

    Please, anybody with some help or suggestions -- I would really appreciate it.
    Currently using ZEN CART v. 1.3.6

  2. #2
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    Nobody has any ideas here? Any suggestions would be appreciated.
    Currently using ZEN CART v. 1.3.6

  3. #3
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    I realized you guys could use more information. Here's what I have in the main language files:

    admin/includes/languages/danish.php:
    setlocale(LC_TIME, 'da_DK.ISO_8859-1');
    define('CHARSET', 'iso-8859-1');

    includes/languages/danish.php:
    @setlocale(LC_TIME, 'da_DK.ISO_8859-1');
    define('CHARSET', 'iso-8859-1');

    Let me know if any other info will help. Thanks, MP
    Currently using ZEN CART v. 1.3.6

  4. #4
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    I'm sorry to bump but I'm really desperate for some kind of direction on this problem. I'm willing to pay to have this fixed, because I'm not sure if all the work I'm continuing to do on the site won't be undermined by some initial error in encoding, collating, etc. - It'd be disastrous if I had to start from scratch now, even worse later.

    Does anyone have any clue what's going on? Suggestions on things to check, places to look, rumors or innuendos? Anything...
    Currently using ZEN CART v. 1.3.6

  5. #5
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    Are the characters displaying properly in the catalog?

  6. #6
    Join Date
    Dec 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    How about a guess?

    I haven't had this problem with ZC, but other PHP scripts - if a .php file is saved with the wrong encoding/charset, it can mess up the special chars... Since you say it's working in the shop, but not admin, maybe a .php file in admin/ is saved w/the wrong character set?

    Second guess - is there anything different in your web server's config between yourstore/ and yourstore/admin. .htaccess, etc?

    Sorry - I'm not much help!
    Chris
    If it ain't broke, you're not trying hard enough...

  7. #7
    Join Date
    Aug 2005
    Posts
    336
    Plugin Contributions
    0

    Default Re: Special characters messed up in ZC Admin

    Yes the characters display correctly in the catalog if it's set correctly in the database. The admin is messed up. But, I can correct it in the admin, and then the database and catalog are messed up.

    Chris, no -- your guess is helpful! It gets me looking in the right places. I'll check out what you recommend and get back with the answers.
    Currently using ZEN CART v. 1.3.6

 

 

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

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