Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    125
    Plugin Contributions
    0

    Default Funky characters in FireFox

    My ZC site, still in development, shows weird characters at the top of the page, only in FireFox:

    http://67.199.28.10/ZenCart/

    FF Web Developer tells me it looks like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    I read the extended thread on countingsheep's problem, where the same thing happened. I've corrected the gunk in stylesheet.css, ditto in /languages/english/LifeRing/header.php, but I still have the junk and I can't find any other files that have it. I checked all the files that were mentioned to countingsheep and they all look fine.

    I tried searching with the Developer Tool Kit and it said it couldn't find anything - and that was BEFORE I cleaned up the stylesheet and the header.php. Any suggestions on where this junque may be??
    hedera

    Nature bats last.

  2. #2
    Join Date
    Nov 2007
    Posts
    125
    Plugin Contributions
    0

    Default Re: Funky characters in FireFox

    I now have more information on this but I still haven't solved it. Background:

    My site, www.liferingtest.com, is now at ZenCart 1.3.8a. With the upgrade, all these pothooks went away except one set in the top left corner of every page. I believe that the pothooks were added to various files when I edited them with Microsoft Expression Web; I've stopped using that. I've also gone through all the files that still had them (identified by Windows Grep) and removed them.

    When I view source in Web Developer, it shows me this line:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    I've gone through my entire site directory with Windows Grep and this character string, , doesn't exist anywhere - and yet it shows on my page. How do I get rid of it - it looks really bad.
    Last edited by hedera; 21 Jul 2008 at 11:08 PM. Reason: Remove SCR tags which were not working
    hedera

    Nature bats last.

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,753
    Plugin Contributions
    0

    Default Re: Funky characters in FireFox

    "" is the Byte Order Mark (BOM) of the Unicode Standard. Specifically it is the hex bytes EF BB BF, which form the UTF-8 representation of the BOM, misinterpreted as ISO 8859/1 text instead of UTF-8.

    Probably what it means is that you are using a text editor that is saving files in UTF-8 with the BOM.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Nov 2007
    Posts
    125
    Plugin Contributions
    0

    Default Re: Funky characters in FireFox

    Well, at least I know what it is. And I was using a text editor that did that; but I've stopped using it, and AFAIK there are No More of these objects in my files, but there's still one in the upper left corner ... How can I get rid of it if I can't find it??
    hedera

    Nature bats last.

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,753
    Plugin Contributions
    0

    Default Re: Funky characters in FireFox

    Its in one of the files that you have touched somewhere, a language file, a template file. Work through them one by one and change the .php to .bak then refresh til the offending file shows it self.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Oct 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Funky characters in FireFox

    I had the same problem and finally figured out what it was...so here is all the information...

    My MySQL charset: UTF-8 Unicode (utf8)

    so I had to change 2 lines in 2 files and it works perfectly now.

    /includes/languages/english.php
    /admin/includes/languages/english.php

    look for
    setlocale(LC_TIME, 'en_US.ISO_8859-1');

    and change it to
    setlocale(LC_TIME, 'en_US.utf8');

    then look for
    define('CHARSET', 'iso-8859-1');

    and change it to
    define('CHARSET', 'uft-8');

    Do this in both files, and those error characters will not show up any more. :-)

    I hope this helps someone!!!

 

 

Similar Threads

  1. v151 Newsletter - Funky Format
    By rebel tech in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 20 May 2013, 06:52 AM
  2. My form is funky
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Apr 2011, 09:58 PM
  3. IE8=Funky rows... Column layout installed.. Firefox = OK
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Jun 2009, 06:36 PM
  4. 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

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