#34375 [NEW]: It is trouble in "mb_convert_encoding" function.
| From: | tomohiro at jk dot jip dot co dot jp | Date: | Mon, 05 Sep 2005 11:03:46 +0000 |
| Subject: | #34375 [NEW]: It is trouble in "mb_convert_encoding" function. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84547@lists.php.net to get a copy of this message | ||
From: tomohiro at jk dot jip dot co dot jp
Operating system: Solaris 8
PHP version: 4.4.0
PHP Bug Type: mbstring related
Bug description: It is trouble in "mb_convert_encoding" function.
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 bug report at http://bugs.php.net/?id=34375&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34375&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34375&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34375&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34375&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34375&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34375&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34375&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34375&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34375&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34375&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34375&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34375&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34375&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34375&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34375&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34375&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34375&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34375&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34375&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34375&r=mysqlcfg