#45657 [Opn->Bgs]: header() problem with special chars: æ, ø and å
ID: 45657
Updated by: derick@php.net
Reported By: jakob at skatetown dot dk
-Status: Open
+Status: Bogus
Bug Type: HTTP related
Operating System: Linux
PHP Version: 4.4.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
You have to use the IDN version of the domain name:
http://mct.verisign-grs.com/conversiontool/convertServlet?input=www.uddannelsesstätte.dk&type=UTF8
(pick the punycode one). Firefox properly re-codes that to
http://www.uddannelsesstätte.dk.
Previous Comments:
------------------------------------------------------------------------
[2008-07-29 19:28:25] jakob at skatetown dot dk
This is pretty urgent, cause Denmark has just released domain names
with æ, ø and å.
------------------------------------------------------------------------
[2008-07-29 19:27:16] jakob at skatetown dot dk
Description:
------------
The header function dont work with international characters lik: æ, ø
and å.
It replace them with %f8 and stuff like that.
ex: header("Location: http://www.uddannelsesstøtte.dk");
http://www.uddannelsesstøtte.dk is a danish site,
that helps students
finding money.
Reproduce code:
---------------
header("Location: http://www.uddannelsesstøtte.dk");
Expected result:
----------------
Redirected to the site "http://www.uddannelsesstøtte.dk"
Actual result:
--------------
Broser output:
Couldn't find http://www.uddannelsesst%f8tte.dk
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45657&edit=1
Thread (4 messages)