#45657 [NEW]: header() problem with special chars: æ, ø and å

From: Date: Tue, 29 Jul 2008 19:27:16 +0000
Subject: #45657 [NEW]: header() problem with special chars: æ, ø and å
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127398@lists.php.net to get a copy of this message
From:             jakob at skatetown dot dk
Operating system: Linux
PHP version:      4.4.8
PHP Bug Type:     HTTP related
Bug description:  header() problem with special chars: æ, ø and å

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 bug report at http://bugs.php.net/?id=45657&edit=1
-- 
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45657&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45657&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45657&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45657&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=45657&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45657&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45657&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45657&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45657&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45657&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=45657&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=45657&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45657&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45657&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45657&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45657&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45657&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45657&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45657&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45657&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#127398) next »