Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Random Characters when using apostrophes etc

    Hi all,

    When i add items to my catalogue, it puts random characters such as †when i use hyphens and apostrophes etc. Any idea how to fix this please?

    Many Thanks,
    Steve

  2. #2
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    Looks like an encoding error.

    Can you confirm what character encoding is specified in your configure.php file & what character coding is showing in your database (you can check via PHPMyAdmin)?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Random Characters when using apostrophes etc

    And if your site was recently upgraded, consider this: http://www.zen-cart.com/content.php?...8859-1-to-utf8
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    Quote Originally Posted by terraGirl View Post
    Looks like an encoding error.

    Can you confirm what character encoding is specified in your configure.php file & what character coding is showing in your database (you can check via PHPMyAdmin)?
    Hi and thanks for the reply.
    My phpmyadmin shows utf8_general_ci???
    And the configure.php in includes says utf8

    Thanks

  5. #5
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    Quote Originally Posted by DrByte View Post
    And if your site was recently upgraded, consider this: http://www.zen-cart.com/content.php?...8859-1-to-utf8
    Thanks Dr. Byte but it was a clean install

  6. #6
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    If it is the wrong character encoding, then which one should i change?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Random Characters when using apostrophes etc

    What about CHARSET in your english.php files? Including both admin and non-admin, and any overrides.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    Quote Originally Posted by DrByte View Post
    What about CHARSET in your english.php files? Including both admin and non-admin, and any overrides.
    includes/languages/mytemp/english.php
    define('CHARSET', 'iso-8859-1');
    includes/lanuages/english.php
    define('CHARSET', 'utf-8');
    admin/includes/languages/english.php
    define('CHARSET', 'utf-8');

    That any use?
    Thanks

  9. #9
    Join Date
    Sep 2004
    Posts
    209
    Plugin Contributions
    0

    Default Re: Random Characters when using apostrophes etc

    Which ones should i change to fix it?

    Thanks

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Random Characters when using apostrophes etc

    If you're actively using the template named "mytemp", then you'll want to set its CHARSET to match the charset you're using in your admin and in your database. So, I think you'll probably benefit from changing that to utf-8

    You haven't explained whether the symptoms you're complaining about are isolated to your admin side or your storefront side.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Using special characters with encoding like ™ etc
    By jettrue in forum General Questions
    Replies: 14
    Last Post: 9 Aug 2011, 07:24 PM
  2. Random orders not completing when using the Payflow Pro addon
    By christamcc in forum Addon Payment Modules
    Replies: 5
    Last Post: 16 Dec 2010, 06:27 AM
  3. Wrong non-english characters in names/addresses when using paypal express
    By tj1 in forum PayPal Express Checkout support
    Replies: 25
    Last Post: 14 Jul 2010, 05:08 AM
  4. Replies: 0
    Last Post: 28 Aug 2009, 07:00 AM
  5. Wrong Characters in Custoner-info when using Firefox
    By affi in forum Managing Customers and Orders
    Replies: 1
    Last Post: 25 Feb 2008, 08:50 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