Re: Re: Regarding the latest patch on fgetcsv() (stable branch)
| From: | Jan Schneider | Date: | Sat, 13 Dec 2003 16:42:12 +0000 |
| Subject: | Re: Re: Regarding the latest patch on fgetcsv() (stable branch) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6418@lists.php.net to get a copy of this message | ||
Zitat von Rasmus Lerdorf <rasmus@php.net>:
> On Sat, 13 Dec 2003, Jan Schneider wrote:
> > Maybe. Due to PHP lacking byte stream functions, working with str* is
> the
> > only solution atm.
>
> And my contention is that there is no way to do this right now. If you
> rely on a str*() function to do this your application is broken since you
> cannot reasonably expect a character to always be 8 bits wide.
With the current implemention and assuming that mbstring overloading is
turned off, I can. This not documentated, but I'd still consider a change
of this behaviour an huge bc break.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft