#34375 [Opn->Fbk]: It is trouble in "mb_convert_encoding" function.
| From: | sniper@php.net | Date: | Mon, 05 Sep 2005 16:27:43 +0000 |
| Subject: | #34375 [Opn->Fbk]: It is trouble in "mb_convert_encoding" function. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84551@lists.php.net to get a copy of this message | ||
ID: 34375
Updated by: sniper@php.net
Reported By: tomohiro at jk dot jip dot co dot jp
-Status: Open
+Status: Feedback
Bug Type: mbstring related
Operating System: Solaris 8
PHP Version: 4.4.0
New Comment:
> It is unquestionable in php-4.3.10.
You mean it worked in PHP 4.3.10 or what?
Previous Comments:
------------------------------------------------------------------------
[2005-09-05 13:03:45] tomohiro at jk dot jip dot co dot jp
Description:
------------
It is trouble in "mb_convert_encoding" function.
"mb_convert_encoding($message, 'JIS', 'auto');" is failed.
"mb_convert_encoding($message, 'JIS', 'EUC-JP');" is not trouble.
In php.ini, "mbstring.detect_order" is not set.
";mbstring.detect_order = auto"
It is unquestionable in php-4.3.10.
Reproduce code:
---------------
<?php
$message = "¶";
$message = mb_convert_encoding($message, 'JIS', 'auto');
print ($message);
?>
Expected result:
----------------
¶
Actual result:
--------------
?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34375&edit=1