in reply to Re: Textarea boxes in CGIin thread Textarea boxes in CGI
so a general input filter that leaves us with unix line endings for all three would be
s/\r\n?/\n/g; [download]
cheers,
J