Bug #15799 Updated: Another segfault on iconv
ID: 15799
Updated by: mfischer@php.net
Reported By: jan@horde.org
Status: Open
Bug Type: ICONV related
Operating System: Linux
PHP Version: 4.0CVS-2002-02-2
Assigned To: mfischer
New Comment:
Why was this still assigned to me ? :)
Previous Comments:
------------------------------------------------------------------------
[2002-05-26 15:00:29] mfischer@php.net
Nope, not me. I've no clue what's going on here honestly. I had some
talks with Yasou but we didn't came to an end. Reopening.
------------------------------------------------------------------------
[2002-05-26 14:49:31] derick@php.net
Assigning to Markus...
------------------------------------------------------------------------
[2002-04-10 19:39:03] sniper@php.net
fyi..I can't reproduce this on Linux with latest CVS
and with libiconv 1.3.
------------------------------------------------------------------------
[2002-03-12 01:19:33] mfischer@php.net
Yes true ... weird. Upon taking a closer look it seems the iconv fails
with 'Invalid or incomplete multibyte or wide character' but the error
code is not properly handled in the code in the first and therefore not
recognized. Will take a closer look later (this day ;).
Maybe you can verify if your input data really without errors?
------------------------------------------------------------------------
[2002-03-11 17:40:44] jan@horde.org
Ah, you're right, I thought all ob_* functions that return or output
the buffer pass the data through the ob_handler first.
But even if I use it the intended way, the output is not converted.
This is the new script I used:
<?
error_reporting(E_ALL);
$text = <<< END
Thanks !!
David Chang
-----------------------------------------------------------------
< ¨C¤ѳ£ Yahoo!©_¼¯ > www.yahoo.com.tw
END;
iconv_set_encoding('input_encoding', 'BIG5');
iconv_set_encoding('internal_encoding', 'UTF-8');
iconv_set_encoding('output_encoding', 'UTF-8');
ob_start('ob_iconv_handler');
echo $text;
header('Content-Type: text/plain; charset=UTF-8');
ob_end_flush();
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15799
--
Edit this bug report at http://bugs.php.net/?id=15799&edit=1
Thread (17 messages)
- jan at horde dot org
- yohgaki@php.netBug #15799 Updated: Another segfault on iconv
- yohgaki@php.netBug #15799 Updated: Another segfault on iconv
- jan at horde dot orgBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- jan at horde dot orgBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- jan at horde dot orgBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- sniper@php.netBug #15799 Updated: Another segfault on iconv
- derick@php.netBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- mfischer@php.netBug #15799 Updated: Another segfault on iconv
- kalowsky@php.net#15799 [Opn->Fbk]: Another segfault on iconv
- php-bugs at lists dot php dot net#15799 [Fbk->NoF]: Another segfault on iconv