- From: Walter Ian Kaye <walter@natural-innovations.com>
- Date: Fri, 11 Apr 1997 12:25:45 -0700 (PDT)
- To: www-html@w3.org
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
Received on Friday, 11 April 1997 15:32:59 UTC