Re: TEXTAREA line terminators: platform dependent?

Murray Maloney <murray@sco.COM>
Date: Wed, 12 Oct 94 10:35:23 EDT
Message-id: <9410121025.aa28198@dali.scocan.sco.COM>
Reply-To: murray@sco.COM
Originator: html-wg@oclc.org
Sender: html-wg@oclc.org
Precedence: bulk
From: Murray Maloney <murray@sco.COM>
To: Multiple recipients of list <html-wg@oclc.org>
Subject: Re: TEXTAREA line terminators: platform dependent?
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: HTML Working Group (Private)
I like option c.
Not that that should carry any weight or anything. :-)
But I do like it.
> 
> 
>    The spec appears to be silent on the issue of line terminators used
>    when submitting the contents of a TEXTAREA.  If this is
>    implementation or platform dependent, then I would like to say so.
> 
> Despite having used TEXTAREA, I hadn't thought much about this one.
> Three things come to mind:
> 
> a. honor any line-ends found in the data, using whatever line-end is
>    native to the server platform (because you can't tell the client
>    platform). In effect this means the contents of TEXTAREA are
>    treated as if they were being displayed as <pre>
> 
> b. Ditto, sticking strictly to UNIX line-ends (LF alone).
> 
> c. Honor only double line-ends (LF-LF or CR/LF-CR/LF etc) as marking 
>    logical line or para boundaries, and fold remaining data as if it
>    were a wrapped para.
> 
> ///Peter