[ic] Cleaning carriage returns etc.

Rene Hertell rene@hertell.com
Fri, 13 Apr 2001 01:11:57 +0300


Hi list,

I bumped in problems with a field that I clean from tabs, carriage returns
etc. The formatting afterwards is not really what I want when I display the
value somewhere...

Can someone help me with some tips in what way <textarea> fields should be
collected and stored (eg. tab replaced with 3 spaces etc.), in other words:
what is safe to store in a tab-delimited file and what is not, and how
should these characters be replaced/removed.

Regards, René