ID: 33720 Comment by: misiek at dione dot ids dot pl Reported By: s dot masugata at digicom dot dnp dot co dot jp Status: Assigned Bug Type: mbstring related Operating System: Solaris8 PHP Version: 4.4.0 Assigned To: moriyoshi New Comment:
This function doesn't work for me in different situation, too: <?php $str = "costam Użytkownik cośtam inne"; $charset = "iso-8859-2"; mb_internal_encoding($charset); $str = mb_encode_mimeheader($str,$charset,'Q'); echo "$str\n"; ?> should produce: costam =?ISO-8859-2?Q?U=BFytkownik=20co=B6tam=20inne?= (and this works on php 5.0.4) but on 4.4.0 it produces: costam U|ytkownik co[tam inne Previous Comments: ------------------------------------------------------------------------ [2005-07-18 02:22:31] [EMAIL PROTECTED] Moriyoshi: Somehow it looks like you never fixed #321311 anywhere, just added a NEWS entry ??? ------------------------------------------------------------------------ [2005-07-16 05:14:58] s dot masugata at digicom dot dnp dot co dot jp Description: ------------ http://bugs.php.net/bug.php?id=32311 mb_encode_mimeheader is did not operate by the influence that corrected this problem. Reproduce code: --------------- <? declare( encoding="EUC-JP" ); var_dump( mb_encode_mimeheader( "\è" ) ); ?> Expected result: ---------------- string(34) "=?ISO-2022-JP?B?GyRCST1CahsoQg==?=" Actual result: -------------- string(2) "hL" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33720&edit=1