Edit report at http://bugs.php.net/bug.php?id=52478&edit=1

 ID:                 52478
 Updated by:         johan...@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

Reply via email to