#34375 [Fbk->Csd]: It is trouble in "mb_convert_encoding" function.

From: Date: Wed, 07 Sep 2005 11:52:38 +0000
Subject: #34375 [Fbk->Csd]: It is trouble in "mb_convert_encoding" function.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84620@lists.php.net to get a copy of this message
ID: 34375 User updated by: tomohiro at jk dot jip dot co dot jp Reported By: tomohiro at jk dot jip dot co dot jp -Status: Feedback +Status: Closed Bug Type: mbstring related Operating System: Solaris 8 PHP Version: 4.4.0 New Comment: I'm sorry. I misunderstood it. The problem was solved. Previous Comments: ------------------------------------------------------------------------ [2005-09-05 18:27:41] sniper@php.net > It is unquestionable in php-4.3.10. You mean it worked in PHP 4.3.10 or what? ------------------------------------------------------------------------ [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

« previous php.bugs (#84620) next »