Thread: Garbled letters

Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Garbled letters

    I have set up a test customer with non-english characters in his name. In phpmyadmin, the zc db collation is set to ‘utf8_general_ci’. However, I still see the customer’s name both in phpmyadmin and zc garbled. As recommended in crystalKoi’s tutorial (http://www.srw2d.com/content/utf-8-zen-cart) , I changed the charset to utf-8 in english.php files both in admin-includes-languages and includes-languages folders. I also changed the code in the query_factory file but the accented letters still look distorted. Am I doing something wrong or is there any other way of rectifying this problem?

    Cheers

  2. #2
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Garbled letters

    When you view the source of your index page what do you see as the character set ?

    HTML Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    is the default which could then mis-render items in UTF-8 also updating your website, your browser probably posts in UTF-8, I know I've had problems with the £ sign before and that's pretty basic.

  3. #3
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Garbled letters

    I solved the problem. Actually, what I should have done was uninstall zc, create the db with the correct collation and then reinstall it. Well, before uninstalling zc, I changed the collation of the db but that didn't work well in every page so creating everything from scratch seemed to be only option. Do you know the difference between "utf8_general_ci" and utf8_unicode_ci"? Are they both the same or differ in some aspects to a certain extent?

  4. #4
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Garbled letters

    I don't (didn't) but I found a lonk on the mysql fourms that explains it very well

    http://forums.mysql.com/read.php?103...748#msg-188748

  5. #5
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Garbled letters

    Thanks for the hand

 

 

Similar Threads

  1. Order confirmation e-mail garbled/missing text occasionally!
    By hindley in forum General Questions
    Replies: 5
    Last Post: 19 Oct 2011, 09:43 PM
  2. Replies: 0
    Last Post: 16 Sep 2010, 06:10 AM
  3. pages garbled on IE
    By kgovett in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 May 2010, 12:45 AM
  4. Customers name are garbled
    By seanscully in forum Managing Customers and Orders
    Replies: 0
    Last Post: 18 Apr 2009, 12:25 AM
  5. Product names Garbled in Order Confirmation email
    By Peace Freak in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 24 Aug 2006, 06:57 PM

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