Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Quote marks in EZ Pages get messed up

    When I edit EZ Pages in Chrome, my single quotes and double quotes get messed up. They appear as a "?" question mark inside a black diamond. If I save the text, they appear on the page as some special characters. I edit without using any of the add-on editors. I edit the raw html in the standard window in the Zen control panel.

    Here's an example that should read as "don't": don�t

    I've learned to use the special symbols for these characters, but the problem is whenever I edit one of my existing pages, Chrome converts all the existing single and double quotes. They appear as the question mark in a black diamond. And if I update the page without hunting them all down, then they appear like the example above.

    Does anyone know what's going on with this? Is there a setting in Chrome that does this conversion? This didn't used to happen in Firefox, which leads me to believe that it's a chrome setting somewhere. But I haven't been able to find it.

    Note, my ZC version is 1.3.9a and both FF and Chrome are latest versions.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Quote marks in EZ Pages get messed up

    Sounds like a character-set mismatch. Like you're using UTF8 characters but your store is still set to Latin1, or vice-versa.

    Also, you're using 1.3.9 which isn't as smart as 1.5.1 in how it handles submitted data like htmlentity encoding such as & etc.
    .

    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.

  3. #3
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: Quote marks in EZ Pages get messed up

    Hi Dr Byte,

    Thank you very much.

    Yes, that was it. I found another post of your about upgrades from 1.3.9 to 1.5 where you recommended using this line in configure.php:
    PHP Code:
    define('DB_CHARSET''latin1'); 
    That handled it for me. But why did that become necessary? I've been using my store for many years now, and it wasn't necessary before. Is it possible that google chrome is using a different character set? I noticed the problem when I switched from Firefox to Chrome. Could be coincidence I suppose...

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Quote marks in EZ Pages get messed up

    It could be that your hosting company changed something on their server to keep progressively modernizing.
    You should be doing the same by keeping your Zen Cart up to date also.
    .

    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.

  5. #5
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: Quote marks in EZ Pages get messed up

    Thanks. That explains it. I had my host move me to a new VPS machine with upgraded Linux and cPanel software. That was date coincident with the issue also, but it didn't dawn on me that it could be the cause.

    My biggest problem with upgrading has been my use of the Simple SEO URL mod. It hasn't been supported for some time, and I have so many links out there, that I just can't mess with changing any of them. I wish I'd chosen another SEO mod that is being supported through the upgrade to 1.5x or I would have upgraded.

 

 

Similar Threads

  1. Ever Get Random ! marks in HTML emails?
    By firstimpression in forum General Questions
    Replies: 1
    Last Post: 4 May 2011, 12:51 PM
  2. Replies: 10
    Last Post: 27 Apr 2010, 10:29 PM
  3. UPS: Unable to get quote
    By bloodandguts in forum Addon Shipping Modules
    Replies: 13
    Last Post: 12 Nov 2008, 02:19 PM
  4. Get rid of the quotation marks
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 25 Nov 2006, 06:21 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