@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Wednesday, 11 April 2007 2:34 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF reports different length than JS
Should be the same,
Are you sure there are no funny characters that CF is stripping or JS.
Can you post
Should be the same,
Are you sure there are no funny characters that CF is stripping or JS.
Can you post an example string where they are different.
Regards
Dale Fraser
http://dale.fraser.id.au/blog
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Taco F
8676 4223
Mobile: 0404 998 273
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Wednesday, 11 April 2007 2:38 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF reports different length than JS
It actually depends on the browser. For example
*From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Wednesday, 11 April 2007 2:34 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: CF reports different length than JS
>
>
>
> Should be the same,
>
>
&g
Taco Fleur
Sent: Wednesday, 11 April 2007 3:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF reports different length than JS
It is actually Firefox that creates the problem.
I just tested it and IE is OK with the following random string.
IE reports 400 chars and Firefox
Taco, yeah an example string would be good.
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Wednesday, 11 April 2007 2:38 PM
T
tt
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613 8676 4223
> Mobile: 0404 998 273
>
>
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Taco Fleur
> *Sent:* Wednesday, 11 April 2007 3:01 PM
>
different also. I think thats where your
> getting your lengths screwing up.
>
>
>
> Steve
>
>
> --
>
> *From:* cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Wednesday, 11 April 2007 2:34 P
usion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Taco Fleur
Sent: Wednesday, 11 April 2007 3:25 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF reports different length th
Just so you know, I hit this bug also ages ago where the length given
by FF and the length given by IE were totally different.
I forget what the workaround was... but know that you aren't alone ;o)
Mark
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
--~--~-~--~~~---
*cough cough
Who was the one who fixed it for you?
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Mandel
Sent: Wednesday, 11 April 2007 6:15 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF reports different length than JS
Thanks Mark, that's really comforting that I am not alone.. but still have
to search for a solution ;-)
On 4/11/07, Mark Mandel <[EMAIL PROTECTED]> wrote:
>
>
> Just so you know, I hit this bug also ages ago where the length given
> by FF and the length given by IE were totally different.
>
> I fo
IE 7 represents a newline as chr(13)&chr(10) - 2 bytes
and
FF 2 as chr(10) - 1 byte
0123456789
0123456789
0123456789
0123456789
Using the above data
IE gives: 40 chars + 4 Newlines * (2 chars) = 48 chars
FF gives: 40 chars + 4 Newlines * (1 char) = 44 chars
so all we need to do is remove t
Thanks Pete! Much appreciated..
On 4/12/07, Pete <[EMAIL PROTECTED]> wrote:
>
>
> IE 7 represents a newline as chr(13)&chr(10) - 2 bytes
>
> and
>
> FF 2 as chr(10) - 1 byte
>
>
> 0123456789
> 0123456789
> 0123456789
> 0123456789
>
>
> Using the above data
>
> IE gives: 40 chars + 4 Newlines * (
14 matches
Mail list logo