Morning,
When you post a form which has a textarea, what line endings are used? \r\n, \n or like local files does it depend on the OS?
I am tryring to find an RFC or W3C spec or something, or is it different based on OS/browser? Got a link?
eg
<textarea name="message">This is
my
message
</textarea>
Would it be
This is\r\n
my\r\n
message\r\n
or
This is\n
my\n
message\n
and is it a standard or different based on browser/os. Proof?
I am not worried about the textarea content before it's sent to the server, but the actual variable contents in PHP/server side.