Hi,
I'm having problem with control characters submitted thru a 'text are
element'.  here is the situation:

1. I've a form which has a text are element:
2. user puts a text there by doing a cut/paste from somewhere. Some cotrol
characters are put because of doing cut and paste.
3. When I get the text from the form and run it thru a parser, it says
documnet is not well formed because of the control charcater.

here is one such text:
**********
$100 million-saving
the -- is a control character
******

I'm using cgi module to get the values from the form
and XML::simple module to parse.

any idea how do i filter out these control charcates while I get the values
from the form.

ben

Reply via email to