#37724 [Opn->Asn]: mb_detect_encoding returns wrong result when text contains a trailing accent
| From: | tony2001@php.net | Date: | Tue, 20 Jun 2006 14:22:28 +0000 |
| Subject: | #37724 [Opn->Asn]: mb_detect_encoding returns wrong result when text contains a trailing accent | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98561@lists.php.net to get a copy of this message | ||
ID: 37724
Updated by: tony2001@php.net
Reported By: oylbqelmhfbxzg at mailinator dot com
-Status: Open
+Status: Assigned
Bug Type: mbstring related
Operating System: Linux
PHP Version: 4.4.2
-Assigned To:
+Assigned To: hirokawa
Previous Comments:
------------------------------------------------------------------------
[2006-06-07 08:54:27] oylbqelmhfbxzg at mailinator dot com
Description:
------------
Since bug 36994 was closed..
Both
$string = "testö"
in a utf-8 text file, and
$string = "testö"
in an iso-8859-1 file (converted using iconv) return "UTF-8" with
mb_detect_encoding, even when strict is on.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37724&edit=1