Req #52478 [NEW]: parse_str should accept string encoding as a parameter
| From: | lgandras at gmail dot com | Date: | Wed, 28 Jul 2010 23:06:02 +0000 |
| Subject: | Req #52478 [NEW]: parse_str should accept string encoding as a parameter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-152901@lists.php.net to get a copy of this message | ||
From:
Operating system: NA
PHP version: 5.2.14
Package: *URL Functions
Bug Type: Feature/Change Request
Bug description:parse_str should accept string encoding as a parameter
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 bug report at http://bugs.php.net/bug.php?id=52478&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52478&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52478&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52478&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52478&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52478&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52478&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52478&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52478&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52478&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52478&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52478&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52478&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52478&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52478&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52478&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52478&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52478&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52478&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52478&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52478&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52478&r=mysqlcfg