On Thu, 11 Mar 1999 17:36 -0600, Pete Resnick wrote:
On 3/11/99 at 3:19 PM -0800, Dan Wing wrote:
But this isn't the correct way to unwrap? Unwrapping should yield one
space between characters, not multiple spaces.
Says who?
I'll cite implementations, but I doubt that is what you were really
asking.
Netscape V4.5, PMDF's UA (V5.1-7), MultiNet's SMTP, and MX (a VMS mailer)
have the space reduction behavior to varying degrees. Netscape compresses
everything to one space, PMDF seems to compress only the wrapped portions,
MultiNet and (I believe) MX only compresses the wrapped portions.
The rule (which is clear in the DRUMS rewrite of 822) is that you
remove only the CRLF. You do not do any "space reduction".
Agreed for unfolding.
But for folding, doesn't this ABNF:
FWS = ([*WSP CRLF] 1*WSP) / ; Folding white space
obs-FWS
allow me to place an arbitrary number of spaces (or tabs) on the folded
line?
-Dan Wing