ID: 29302 Updated by: [EMAIL PROTECTED] Reported By: revolutio at gmx dot de -Status: Open +Status: Bogus Bug Type: *XML functions Operating System: SuSE Linux 9.1 (with Apache2) PHP Version: 5.0.0 New Comment:
text can be split into multiple chunks depending upon buffer size, characters encountered, etc.. which means the parser can fire off multiple events. you need to concat the text until its finished. your exmple is assuming all text returned at once so you are only using the data from the last event. Previous Comments: ------------------------------------------------------------------------ [2004-07-21 15:33:55] revolutio at gmx dot de Description: ------------ In php5 it strips the string befor the umlauts. This script is working in php4 best. (You only see the bug, if an umlauts is in the heise news feed) ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-mysql=/usr/local/mysql --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype-dir=/usr/lib Reproduce code: --------------- http://nopaste.php-q.net/72902 Expected result: ---------------- I want to see the complete title of the news feed. Actual result: -------------- It stripts the string in front of the last umlauts. (Like Ü/Ö/Ä) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29302&edit=1