RE: [PHP] strlen() gives a wrong count

2002-03-19 Thread Rasmus Lerdorf
ing so that we could help you? > > > > > >Darren Gamble > >Planner, Regional Services > >Shaw Cablesystems GP > >630 - 3rd Avenue SW > >Calgary, Alberta, Canada > >T2P 4L4 > >(403) 781-4948 > > > > > >-Original Messa

RE: [PHP] strlen() gives a wrong count

2002-03-19 Thread Gil Disatnik
lp you? > > >Darren Gamble >Planner, Regional Services >Shaw Cablesystems GP >630 - 3rd Avenue SW >Calgary, Alberta, Canada >T2P 4L4 >(403) 781-4948 > > >-Original Message----- >From: Gil Disatnik [mailto:[EMAIL PROTECTED]] &g

RE: [PHP] strlen() gives a wrong count

2002-03-19 Thread Darren Gamble
PROTECTED]] Sent: Tuesday, March 19, 2002 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] strlen() gives a wrong count Hello there, I have a 98 characters string (including spaces), wc -c says it's 98 characters and a file containing this string is 98 bytes as well. For some reason - strlen()

Re: [PHP] strlen() gives a wrong count

2002-03-19 Thread Rasmus Lerdorf
Well, how are you putting it into the string? On Tue, 19 Mar 2002, Gil Disatnik wrote: > Hello there, > > I have a 98 characters string (including spaces), wc -c says it's 98 > characters and a file containing this string is 98 bytes as well. > > For some reason - strlen() says it's more... it s

[PHP] strlen() gives a wrong count

2002-03-19 Thread Gil Disatnik
Hello there, I have a 98 characters string (including spaces), wc -c says it's 98 characters and a file containing this string is 98 bytes as well. For some reason - strlen() says it's more... it says it's a 104 characters strings, when I removed the spaces (using sed on the shell and using s