When I receive text from a <TEXTFIELD></TEXTFIELD> input field, I seams that my CGI script receives CrLf pairs used for line-breaks. I experienced that problem when I applied a split(/\n/, $message) to the message. Nowadays, I use a regexp to convert the data, and then everything works as it should be.

However, I still have some questions: - Is this an internet standard? - Or is this is a bug in iis/ie? - Does this happen elsewhere aswell?

Boy, we keep meeting everywhere! Okay, here's the skinny. It happens everywhere. Textfield data from any win32 platform seems to put in \r characters instead of \n characters each time a new line is required. When looking at the input from that field type, do a s/\r/\n/g; on that parameter. Then all the remaining times you run the data through regexes it should work as planned.