note 72597 added to function.rawurlencode
| From: | christian_nointerestin at spam dot com | Date: | Thu, 25 Jan 2007 13:53:20 +0000 |
| Subject: | note 72597 added to function.rawurlencode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122185@lists.php.net to get a copy of this message | ||
I had serious trouble with local Windows paths containing umlauts on my Apache 2 / Windows NT
machine. Apache could not find any of those files if I just used rawurlencode. It's not noted
anywhere here, but you fix this by simply making your path utf8 first:
rawurlencode(utf8_encode($str));
----
Server IP: 217.13.201.10
Probable Submitter: 80.145.37.56
----
Manual Page -- http://www.php.net/manual/en/function.rawurlencode.php
Edit -- https://master.php.net/note/edit/72597
Del: integrated -- https://master.php.net/note/delete/72597/integrated
Del: useless -- https://master.php.net/note/delete/72597/useless
Del: bad code -- https://master.php.net/note/delete/72597/bad+code
Del: spam -- https://master.php.net/note/delete/72597/spam
Del: non-english -- https://master.php.net/note/delete/72597/non-english
Del: in docs -- https://master.php.net/note/delete/72597/in+docs
Del: other reasons-- https://master.php.net/note/delete/72597
Reject -- https://master.php.net/note/reject/72597
Search -- https://master.php.net/manage/user-notes.php