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

 ID:                 42707
 Comment by:         narf at bofh dot bg
 Reported by:        frekko at gmail dot com
 Summary:            Add config to iconv_mime_encode not to add the
                     header name.
 Status:             Open
 Type:               Feature/Change Request
 Package:            Feature/Change Request
 Operating System:   gentoo
 PHP Version:        5.2.4
 Block user comment: N
 Private report:     N

 New Comment:

I too would love to be able to pass e.g. NULL as the field name.
+1


Previous Comments:
------------------------------------------------------------------------
[2007-09-19 09:50:12] frekko at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=42707&edit=1

Reply via email to