ID:               33720
 Updated by:       [EMAIL PROTECTED]
 Reported By:      s dot masugata at digicom dot dnp dot co dot jp
-Status:           Feedback
+Status:           Closed
 Bug Type:         mbstring related
 Operating System: Solaris8
 PHP Version:      4.4.0
 Assigned To:      hirokawa
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2005-11-07 23:07:18] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-08-17 10:18:02] misiek at dione dot ids dot pl

Argh, these characters in $str are s' and l/ in iso8859-2 and should be
written in 8-bit not as html entities.

------------------------------------------------------------------------

[2005-08-17 10:13:56] misiek at dione dot ids dot pl

This function doesn't work for me in different situation, too:

<?php
$str = "costam U&#380;ytkownik co&#347;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

------------------------------------------------------------------------

[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

Reply via email to