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?
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?
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!
In the domain name.
http://www.busungarochsmåknytt.se
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!
Still need support with this.
Why can't I delete a post?
Last edited by abloodywar; 7 Dec 2008 at 04:22 PM.
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.
You will see that it does not work, and fails in the same way your site fails.PHP Code:<?php
$domain = 'http://busungarochsmåknytt.se';
header('Location: ' . $domain);
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,
it does work.PHP Code:<?php
$domain = 'http://xn--busungarochsmknytt-hub.se';
header('Location: ' . $domain);
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.