From: frekko at gmail dot com Operating system: gentoo PHP version: 5.2.4 PHP Bug Type: Feature/Change Request Bug description: Add config to iconv_mime_encode not to add the header name.
Description: ------------ In eZ components we're using iconv_mime_encode to encode header values. However, we store the result in a hash headerName => headerValue. This leads to funny code like: $value = iconv_mime_encode( 'dummy', $value, $preferences ); $value = substr( $value, 7 ); // "dummy: " + 1 It would be nice to have a config option to iconv_mime_encode to just drop the header name alltogether to avoid hacks like this. -- Edit bug report at http://bugs.php.net/?id=42707&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42707&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42707&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42707&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42707&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42707&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42707&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42707&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42707&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42707&r=support Expected behavior: http://bugs.php.net/fix.php?id=42707&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42707&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42707&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42707&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42707&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42707&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42707&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42707&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42707&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42707&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42707&r=mysqlcfg
