Re: Help with MS IE

Walter Ian Kaye (walter@natural-innovations.com)
Fri, 11 Apr 1997 12:25:45 -0700 (PDT)


Date: Fri, 11 Apr 1997 12:25:45 -0700 (PDT)
From: Walter Ian Kaye <walter@natural-innovations.com>
To: www-html@w3.org
Subject: Re: Help with MS IE
In-Reply-To: <v02140b00af7422b2b8a0@[204.176.111.4]>
Message-ID: <Pine.SGI.3.95.970411121702.14159B-100000@shellx.best.com>

On Fri, 11 Apr 1997, Aviram Carmi wrote:
> Here is the problem.  I need to pass a hidden text input field that
> contains a line break.  If I just enter a carriage return in the "VALUE="
> it does not seem to work with MSIE.  Is there a way to escape the carriage
> return?
> 
> I tried %0A and %0D, but the "%" itself get escaped into %25.

Sounds like a bug to me. (I have not yet tried embedding that.)

> I do not have the source code to the CGI that I am using, (it is a
> commercial product), so I cannot just enter a unique string of characters
> say '\n' and have the CGI replace that with a line break.
> 
> I do think it is a problem with MSIE, since also a TEXTAREA does not work.
> 
> i.e. if I enter multiple lines into the text area, MSIE also strips the
> carriage returns from the input.

MSIE 3.0 for Macintosh does TEXTAREA correctly (I know, because I wrote a CGI
which converts the line breaks to VTs; they were encoded as %0D%0A).

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter