1--TEST-- 2Bug #52211 (iconv() returns part of string on error) 3--SKIPIF-- 4<?php 5include('skipif.inc'); 6?> 7--FILE-- 8<?php 9 10$str = "PATHOLOGIES MÉDICO-CHIRUR. ADUL. PL"; 11$str_iconv = iconv('CP850', 'ISO-8859-1', $str ); 12var_dump($str_iconv); 13 14?> 15--EXPECTF-- 16Notice: iconv(): Detected an illegal character in input string in %s on line %d 17bool(false) 18