Test: /ext/iconv/tests/bug48147.phpt - Version 7.4.1-dev        

Bug #48147 iconv with //IGNORE cuts the string
Submitted: 2009-05-04 14:52:10 Modified: 2015-05-08 07:23:07
From: kulakov74 Assigned: stas
Status: Closed Package: ICONV related
PHP Version: 5.*, 6CVS (2009-05-05) OS: Linux

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
003- string(10) "aa%C3%B8aa"
004+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 4
005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
007+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 6
008+ string(0) ""
009+
010+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 8
011+ string(0) ""
012+
013+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 10
007- string(8) "%C3%B8aa"
009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d