[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Steve Onnis
@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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Dale Fraser
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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Andrew Scott
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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Taco Fleur
*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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Andrew Scott
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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Steve Onnis
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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Taco Fleur
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 >

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Taco Fleur
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

[cfaussie] Re: CF reports different length than JS

2007-04-10 Thread Andrew Scott
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

[cfaussie] Re: CF reports different length than JS

2007-04-11 Thread Mark Mandel
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 --~--~-~--~~~---

[cfaussie] Re: CF reports different length than JS

2007-04-11 Thread Steve Onnis
*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

[cfaussie] Re: CF reports different length than JS

2007-04-11 Thread Taco Fleur
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

[cfaussie] Re: CF reports different length than JS

2007-04-12 Thread Pete
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

[cfaussie] Re: CF reports different length than JS

2007-04-13 Thread Taco Fleur
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 * (