ID: 15638 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: ICONV related Operating System: Linux PHP Version: 4.0CVS-2002-02-19 New Comment:
No, it's still an iconv/php problem but I have to investigate further. If you look at the test script you see that it should generate ANY output. And there are no segfaults. Hm. Previous Comments: ------------------------------------------------------------------------ [2002-02-20 08:26:10] [EMAIL PROTECTED] > Now there's no output generated at all, > but that's another problem. You mean it's a problem in your script and not in PHP? In that case, please close this bug. ------------------------------------------------------------------------ [2002-02-20 06:31:17] [EMAIL PROTECTED] The warnings have dispappeared. Now there's no output generated at all, but that's another problem. ------------------------------------------------------------------------ [2002-02-20 02:24:28] [EMAIL PROTECTED] I committed a fix for this to CVS, but was not be able to test it. Would you be so kind to take the honors? Derick ------------------------------------------------------------------------ [2002-02-19 20:34:46] [EMAIL PROTECTED] I get this warning message while trying to run iconv(): Warning: String is not zero-terminated (beforeafterZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ„Ì*p) (source: ./zend_execute.c:449) in /usr/local/httpd/htdocs/headhorde/iconv.php on line 9 PHP is compiled against the latest inconv library. This test script reproduces the messages: <pre> <? error_reporting(E_ALL); $src = 'ISO-8859-1'; $dst = 'ISO-8859-2'; $j = 0; for($i=1;$i<=255;$i++) { $tst = sprintf('before%cafter',$i); $rc=iconv($src,$dst,$tst); if (strlen($rc) == 0) { print "$i fail"; $j++; } print "\n"; } print "total failed: $j"; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15638&edit=1