ID:               29302
 User updated by:  revolutio at gmx dot de
 Reported By:      revolutio at gmx dot de
-Status:           Bogus
+Status:           Closed
 Bug Type:         *XML functions
 Operating System: SuSE Linux 9.1 (with Apache2)
 PHP Version:      5.0.0
 New Comment:

Thx for the help. It works now with your describtion.


Previous Comments:
------------------------------------------------------------------------

[2004-07-21 20:18:45] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to