Re: RE: Hint to bug #12127,#10896 .... (Function fgetcsv() lost some lett ers) (fwd)

From: Date: Sun, 14 Oct 2001 09:08:06 +0000
Subject: Re: RE: Hint to bug #12127,#10896 .... (Function fgetcsv() lost some lett ers) (fwd)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67922@lists.php.net to get a copy of this message
Ok I tested with current CVS snapshot (W2K). I don't miss any characters, I even compared with hexdump, its all fine. I consultet MSDN which says: "The result of the test condition for the isspace function depends on the LC_CTYPE category setting of the current locale; see setlocale for more information." So I assume this comes from his locale setting? On Sun, Oct 14, 2001 at 07:39:06AM +0300, Jani Taskinen wrote : > > Forgot to forward this to the list. Could someone > check this out? > > --Jani > > > ---------- Forwarded message ---------- > Date: Wed, 26 Sep 2001 14:54:51 +0200 > From: "Tesacek, Jan" <jan.tesacek@sap.com> > To: 'Jani Taskinen' <sniper@iki.fi> > Subject: RE: Hint to bug #12127, > #10896 .... (Function fgetcsv() lost some lett ers) > > Hello again, > I locate and repair this bug, but I am behind firewall and I cannot access > cvs. In file.c file in function fgetcsv is used this syntax to call function > isspace : "isspace((int)*ptr)", replace it with "isspace((unsigned > char)*ptr). > Jan Tesacek > > > -----Original Message----- > > From: Jani Taskinen [mailto:sniper@iki.fi] > > Sent: Tuesday, September 18, 2001 12:41 PM > > To: Tesacek, Jan > > Subject: Re: Hint to bug #12127,#10896 .... (Function > > fgetcsv() lost some lett ers) > > > > > > > > Sorry, but I'm not the correct person to send these since > > I don't have any windows compiler and my knowledge of that system > > is quite limited. :) > > > > Please send this information to php-dev@lists.php.net > > > > --Jani > > > > > > On Tue, 18 Sep 2001, Tesacek, Jan wrote: > > > > >Hello, > > >I send email to rasmus@php.net, but no respond to me. Today > > I try developer > > >build 4.0.8 from www.php4win.de and this bug is also in this > > build (I try > > >version 4.0.4pl1,4.0.5,4.0.6 and this bug is in all builds). I try to > > >reproduce this bug on 5 OS (1xW2K Advanced server English > > with sp1 and sp2, > > >2x W2K Profesional English with sp1 and sp2,1x W2K > > Profesional Czech with > > >sp2, 1xWinNT 4.0 with sp6) - and result all W2K OS has same > > bug result, NT > > >has right result. I try to explore binding to Regional > > Setting - but no > > >binding to Regional Settings. > > >My result is that, problem is not in fgetcsv function, but > > in somewhere in C > > >function isspace, which is used in file.c - When replace > > isspace(c) with > > >(c==' ') and it works right. (I dont make new build to test > > this, but i path > > >php4ts.dll in hex editor). In attachment i send you my > > php.ini, test php, > > >and diff (offset <tab> original value <tab> modified value) > > to php4ts.dll > > >(v. 4.0.6). > > >I hope that you excuse my terrible english ... > > > Jan Tesacek > > > > > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend-

« previous php.dev (#67922) next »