ID: 32062 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Bogus Bug Type: mbstring related Operating System: * PHP Version: 5CVS, 4CVS (2005-02-22) Assigned To: hirokawa New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2005-12-31 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-12-23 15:43:27] [EMAIL PROTECTED] mbstring (libmbfl) uses strcasecmp() which depends on the locale. If the specified locale is not supported in the system, encoding match fails. It is not the problem of mbstring, but it is the problem of system setting. ------------------------------------------------------------------------ [2005-12-21 23:24:01] [EMAIL PROTECTED] Rui, check this too if you don't mind. :) ------------------------------------------------------------------------ [2005-02-22 16:17:51] [EMAIL PROTECTED] Right, there were typos. The reproduce code should've been <?php setlocale(LC_CTYPE, 'de_DE.ISO-8859-1'); var_dump(mb_convert_encoding('a', 'utf-8', 'iso-8859 -1')); var_dump(mb_convert_encoding('a', 'UTF-8', 'ISO-8859 -1')); setlocale(LC_CTYPE, 'tr_TR.ISO-8859-9'); var_dump(mb_convert_encoding('a', 'utf-8', 'iso-8859 -1')); var_dump(mb_convert_encoding('a', 'UTF-8', 'ISO-8859 -1')); ?> ------------------------------------------------------------------------ [2005-02-22 15:25:03] [EMAIL PROTECTED] tr_TR == Turkish, and ISO-8859-1 is not a valid character set of that locale, no? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/32062 -- Edit this bug report at http://bugs.php.net/?id=32062&edit=1