Doesnt this issue depend on the character encoding?  That is, high ascii
values (128-255) are control characters in some encodings, which I assume
you want to get rid of.  Than, there is the 0-31 characters in ascii which
are control characters of which you want to get rid of all except tabs,
spaces, carriage returns, and line feeds.  Than there are characters
reserved for private use in other ranges.  FYI Macintosh has a 0x0 character
which breaks alot of apps, and netscape for mac versions 4.x  have a bug
which introduces control characters on html form submissions.


----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "struts-user" <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 9:48 PM
Subject: Re: HTML special characters


>
>
> On Fri, 20 Apr 2001, Peter Alfors wrote:
>
> > Hello all,
> >
> >     Is there any plan to update the ResponseUtil.filter() method to
> > handle more (or all) of the HTML special characters?
> > It looks like right now only 4 are being handled.
> >
> > Thanks,
> >     Pete
> >
>
> What other characters are you concerned about?  The purpose of filtering
> was to avoid problems where user data had HTML markup in it, but it wasn't
> designed to be a general purpose encoding mechanism.
>
> Craig
>
>

Reply via email to