views:

129

answers:

1

I know that the line endings used for files vary depending on the OS. I was wondering, if a user pastes text into a http form input such as a textarea, does the line ending character(s) for what gets sent depend on the OS in the same way?

+4  A: 

No, the browser should canonicalize the line endings.

Charlie Martin
+1 http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1
Joe Holloway
I was considering asking what the standard is but the link in the comments covers that, so...answer approved!
Eugene M
I was considering googling for the standard but wanted more coffee first.
Charlie Martin