in reply to Re: Textarea boxes in CGI
in 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;

cheers,

J