Re: Mysterious(?) carriage returns

2015-04-06 Thread Chris Pratt
I believe line breaks in HTTP are always represented as CRLF pairs, regardless of the Client or Server OS's (*Chris*) On Mon, Apr 6, 2015 at 2:07 PM Heikki Hyyrö heikki.hy...@uta.fi wrote: Hi, I have been stumped by the following problem: newlines within text received from an html form

Re: Mysterious(?) carriage returns

2015-04-06 Thread Heikki Hyyrö
Chris Pratt thechrispr...@gmail.com kirjoitti 7.4.2015 kello 0.32: I believe line breaks in HTTP are always represented as CRLF pairs, regardless of the Client or Server OS's Thanks for the tip; it helped me to look for the right thing and verify that HTML 4.01 specification indeed states

RE: Mysterious(?) carriage returns

2015-04-06 Thread Sean Powell
The OS with the browser submitting the page is Windows? -Original Message- From: Heikki Hyyrö [mailto:heikki.hy...@uta.fi] Sent: Monday, April 06, 2015 4:03 PM To: Struts Users Mailing List Subject: Mysterious(?) carriage returns Hi, I have been stumped by the following problem

Mysterious(?) carriage returns

2015-04-06 Thread Heikki Hyyrö
Hi, I have been stumped by the following problem: newlines within text received from an html form show up in the form ”\r\n” in our Struts 2 -based application. I am wondering how this is possible because I have verified the following: 1) The system is running on OS X or Linux, so the OS