Req #52478 [Opn->Bgs]: parse_str should accept string encoding as a parameter
| From: | johannes@php.net | Date: | Fri, 06 Aug 2010 23:26:42 +0000 |
| Subject: | Req #52478 [Opn->Bgs]: parse_str should accept string encoding as a parameter | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153178@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52478&edit=1
ID: 52478
Updated by: johannes@php.net
Reported by: lgandras at gmail dot com
Summary: parse_str should accept string encoding as a
parameter
-Status: Open
+Status: Bogus
Type: Feature/Change Request
Package: *URL Functions
Operating System: NA
PHP Version: 5.2.14
Block user comment: N
New Comment:
PHP has no understanding of encodings therefore there is no reason for
such a parameter there.
Previous Comments:
------------------------------------------------------------------------
[2010-07-29 01:06:02] lgandras at gmail dot com
Description:
------------
It would be nice to have parse_str($str, $arrout) accepting a third
parameter allowing to specify string encoding. Typically javascript
encoded strings will be in UTF-8. My server for example uses ISO-8859-1
for everything.
I'm willing to try to develop a patch for this (never done it before).
It would be nice if somebody pointed out what internal functions should
i use to get this working.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52478&edit=1