#29302 [Csd->Bgs]: Stripping of strings in front of the last umlauts
| From: | derick@php.net | Date: | Wed, 21 Jul 2004 21:01:30 +0000 |
| Subject: | #29302 [Csd->Bgs]: Stripping of strings in front of the last umlauts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63289@lists.php.net to get a copy of this message | ||
ID: 29302
Updated by: derick@php.net
Reported By: revolutio at gmx dot de
-Status: Closed
+Status: Bogus
Bug Type: *XML functions
Operating System: SuSE Linux 9.1 (with Apache2)
PHP Version: 5.0.0
New Comment:
still not a bug -> bogus
Previous Comments:
------------------------------------------------------------------------
[2004-07-21 22:14:38] revolutio at gmx dot de
Thx for the help. It works now with your describtion.
------------------------------------------------------------------------
[2004-07-21 20:18:45] rrichards@php.net
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