Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2014
    Posts
    12
    Plugin Contributions
    0

    red flag [Not a Bug] you can't use letters like ä ö å æ ø when customers creat/editing address

    So we did some testing today, and surprisingly i never thought that zen cart would have such old known bug.

    If you create an account and you use letters like ä ö å æ ø for Scandinavian country's the account is going to be made with the tags but all your settings like address, name, last name and so on is totally wiped.

    This also counts for trying to update the addresses after with the letters i took a screenshot to show you what i mean, This is with ALL information added on registration page on the left side of the picture and and trying to update with letters after on right side of the picture.


    Found out that you actually can update to the correct names via the admin interface, but as a customer/user you will have a hard time trying to figure out what the h3ll is going on, not even to talk about, customer registrations could look like fake/scams, since they technically could write an adress like Horse Road 1 Æ Horse Road 2 but only the text from behind Æ would be picked up for registration so outcome would be

    HTML Code:
    Horse Road 1
    when in fact it should

    HTML Code:
    Horse Road 1 Æ Horse Road 2


    Name:  zen.jpg
Views: 343
Size:  22.2 KB
    Last edited by wazer; 16 Apr 2014 at 06:59 PM.

  2. #2
    Join Date
    Apr 2014
    Posts
    12
    Plugin Contributions
    0

    Default Re: Bug you can use letters like ä ö å æ ø when customers editing their adress field

    And if there's ANY that knows how to fix that as a hotfix right here and right now, we will glady take it since a lot of our are from Scandinavia or Germany.

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

    Default Re: you can use letters like ä ö å æ ø when customers editing their adress field

    There's nothing wrong about customers being allowed to use ä ö å æ ø characters.

    english.php - What's CHARSET defined to?
    database tables - what's the collation set to in each of those fields?

    Did your site run v1.3.x at one point, and you upgraded? If so, you probably failed to retain the old CHARSET when upgrading.

    ie: 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
    Apr 2014
    Posts
    12
    Plugin Contributions
    0

    Default Re: you can use letters like ä ö å æ ø when customers editing their adress field

    Quote Originally Posted by DrByte View Post
    There's nothing wrong about customers being allowed to use ä ö å æ ø characters.

    english.php - What's CHARSET defined to?
    database tables - what's the collation set to in each of those fields?

    Did your site run v1.3.x at one point, and you upgraded? If so, you probably failed to retain the old CHARSET when upgrading.

    ie: http://www.zen-cart.com/content.php?...8859-1-to-utf8
    This is no upgrade, first time we use zen cart so v1.51

    And we use lang=en/english.


    Thanks Pal it worked to change it to utf-8

    I dont know it it was supposed to be this

    HTML Code:
    define('CHARSET', 'iso-8859-1');
    But we changed it to and it works!!!
    HTML Code:
    define('CHARSET', 'utf-8');

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

    Default Re: you can use letters like ä ö å æ ø when customers editing their adress field

    Out-of-the-box, Zen Cart v1.5.1 uses utf8 by default.
    .

    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.

  6. #6
    Join Date
    Apr 2014
    Posts
    12
    Plugin Contributions
    0

    Default Re: you can use letters like ä ö å æ ø when customers editing their adress field

    Quote Originally Posted by DrByte View Post
    Out-of-the-box, Zen Cart v1.5.1 uses utf8 by default.
    I'm sorry then yes, it was the theme who took over the english.php with an extra file which was not updated from the download section, sorry about blaming zen cart ;)

 

 

Similar Threads

  1. Can you use HTML editing to more aptly adjust the look of the site?
    By Ctulu in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jan 2011, 09:08 PM
  2. Can you manually add customers and their e-mail address?
    By sfklaas in forum General Questions
    Replies: 1
    Last Post: 1 Sep 2008, 04:10 AM
  3. Can you use wildcard characters when creating coupon codes?
    By aaelghat in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 2 Jul 2007, 05:17 AM
  4. Replies: 1
    Last Post: 12 Sep 2006, 07:59 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