#35700 [NEW]: mb_encode_mimeheader encodes some words to wrong words.
From: tekezo at tkym dot org
Operating system: Linux & FreeBSD
PHP version: 4.4.1
PHP Bug Type: mbstring related
Bug description: mb_encode_mimeheader encodes some words to wrong words.
Description:
------------
mb_encode_mimeheader encode "N" to "t".
Reproduce code:
---------------
$enc_str = mb_encode_mimeheader("N");
$dec_str = mb_decode_mimeheader($enc_str);
print $dec_str . "\n";
Expected result:
----------------
print "N"
Actual result:
--------------
print "t"
--
Edit bug report at http://bugs.php.net/?id=35700&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35700&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35700&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35700&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35700&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35700&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35700&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35700&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35700&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35700&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35700&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35700&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35700&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35700&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35700&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35700&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35700&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35700&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35700&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35700&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35700&r=mysqlcfg
Thread (2 messages)
- tekezo at tkym dot org