Test: /ext/iconv/tests/bug48147.phpt - Version 7.4.14        

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 are 3 different diffs reported by users for this test.

Count Diff
139 (97%)
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
3 (2%)
001- Notice: iconv(): Detected an illegal character in input string in %s on line %d 002- bool(false) 003- string(10) "aa%C3%B8aa" 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 006- string(0) "" 007- string(8) "%C3%B8aa" 008- 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 010- string(0) ""
1 (1%)
001+ Notice: iconv(): Unknown error (84) in %s/bug48147.php on line 3 001- Notice: iconv(): Detected an illegal character in input string in %s on line %d 005+ Notice: iconv(): Unknown error (22) in %s/bug48147.php on line 6 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 009+ Notice: iconv(): Unknown error (22) in %s/bug48147.php on line 10 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d