[Bug 16733] Drop 'endings'?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16733

--- Comment #16 from Glenn Maynard <glenn@zewt.org> 2012-04-16 15:14:05 UTC ---
(In reply to comment #15)
> That argues for having an API that normalizes to CRLF regardless of OS.

No--if my application was running natively in Linux, I'd (usually) write LF's.

I don't have a strong feeling for whether that translates to web apps.  How
much will people be bothered if web apps always write CRLFs, even when running
in Linux or OSX?  I'm not sure...

> (And maybe an API that normalizes to LF when going in the other direction.)
> 
> Should we provide a convenience API for that?

If all you want is to convert CRLF<->LF, you don't really need a helper API,
since it's just a one-line regex.


(In reply to comment #14)
> Right, hence my suggestion in comment 5. To have "compatible" for people who
> want CRLF, and "default" for everyone else.

This is backwards--most people will want CRLF.  The only people who might want
LF are *nix and OSX users.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 16 April 2012 15:14:12 UTC