[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] how to handle invalid UTF8 chars
|
Hi,
On Tue, Jan 24, 2012 at 15:13, Mattia Merzi <mattia.merzi@xxxxxxxxx> wrote:
> Hi everyone,
>
> I've recently updated jetty libs (I'm using jetty embedded) to the latest
> version, and I'm having troubles with this exception:
>
> org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid
> UTF8! byte 20 in state 3
>
> is there a way to ask jetty to just trash invalid chars instead of
> throwing an exception?
>
> If you need some more details, just ask.
Is this a body of a request ? If so, the solution is to specify the
right content-type and charset.
If this a URL ? If so, it must be encoded as UTF8.
Something else ?
Stack trace ?
Simon
--
http://cometd.org
http://intalio.com
http://bordet.blogspot.com
----
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless. Victoria Livschitz