From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0CVS-2002-02-19 PHP Bug Type: ICONV related Bug description: warning from zend_execute.c while running inconv()
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 bug report at http://bugs.php.net/?id=15638&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15638&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15638&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15638&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15638&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15638&r=support Expected behavior: http://bugs.php.net/fix.php?id=15638&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15638&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15638&r=submittedtwice