Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    red flag Å in domain name

    I'm using zen-cart on a site, which has Å in its domain name.
    When I click on certain links on the site, the "Å" changes to "%e5".

    How do I prevent this?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Å in domain name

    Do you literally mean the domain name? Or do you mean in the URL ...

    Have you an URL we could perhaps peek at that is using this?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Å in domain name


  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Å in domain name

    If you add one more product to the Category for: Haklappar

    Does that stop breaking?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Å in domain name

    Still need support with this.

  6. #6
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Å in domain name

    Why can't I delete a post?
    Last edited by abloodywar; 7 Dec 2008 at 04:22 PM.

  7. #7
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,930
    Plugin Contributions
    4

    Default Re: Å in domain name

    Hi,

    The problem only happens when a header redirect occurs.
    It looks like php's header('Location: domain_name') does not fully support Internationalised domain names.

    ie if you write a small test script like.

    PHP Code:
    <?php
    $domain 
    'http://busungarochsmåknytt.se';
    header('Location: ' $domain);
    You will see that it does not work, and fails in the same way your site fails.

    However if you convert your site name to an IDN punycode format
    see http://idnaconv.phlymail.de/index.php

    and use the result http://xn--busungarochsmknytt-hub.se in the script,

    PHP Code:
    <?php
    $domain 
    'http://xn--busungarochsmknytt-hub.se';
    header('Location: ' $domain);
    it does work.

    I don't have any details currently of the algorithm used to convert to punycode, so can't be much more help at the moment.

 

 

Similar Threads

  1. Domain Name Changed
    By Cannie in forum General Questions
    Replies: 6
    Last Post: 14 Apr 2010, 08:22 AM
  2. Changing domain name & site name
    By rufusclc in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2008, 06:48 PM
  3. Changing My Domain Name
    By mafiasam in forum Installing on a Linux/Unix Server
    Replies: 17
    Last Post: 30 May 2008, 02:46 AM
  4. Transfer Site to new domain, and changeing domain name
    By dng in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Mar 2007, 12:28 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