Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010
    Posts
    7
    Plugin Contributions
    0

    Default � - Can't figure out how to remove

    I have � on all my text pages.

    My MySQL charset: UTF-8 Unicode (utf8)

    My english.php is

    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat try 'en_US'
    // on FreeBSD try 'en_US.ISO_8859-1'
    // on Windows try 'en', or 'English'
    @setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');


    How do I fix this please????

    Thanks
    Amanda

    http://ellaandjaks.com/shop/

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: � - Can't figure out how to remove


  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: � - Can't figure out how to remove

    If you are storing and retrieving your text as UTF-8, then your webpages have to use that encoding too. They dont, they are still set to 8859.

    Try this

    @setlocale(LC_TIME, 'en_US.utf8');

    and also look at these threads for background info:

    http://www.zen-cart.com/forum/showthread.php?t=93439

    http://www.zen-cart.com/forum/showthread.php?t=133111

    regards
    Steve

 

 

Similar Threads

  1. v151 Can't figure out how to move a link.
    By designing4 in forum General Questions
    Replies: 5
    Last Post: 14 Jun 2014, 02:56 AM
  2. v151 Can't figure out how to remove "HEADING_TITLE" from Product Detail Section
    By westseedfarm in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 7 Feb 2013, 12:32 AM
  3. cant figure out what links in header are and how to remove them
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jun 2008, 04:40 PM
  4. I can't figure out how to add a link
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Apr 2008, 05:30 PM
  5. Customers can't figure out how to order
    By LilleyPadGifts in forum Managing Customers and Orders
    Replies: 8
    Last Post: 24 Dec 2007, 03:39 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