Here is the relative issue and its solution:
https://issues.jboss.org/browse/RESTEASY-723
2012/11/9 Adrian Rodriguez
> That actually did not work for me. Are you also accepting uploads that
> need to transfer UTF8 data? If so, I'll explain everything I had to go
> through to make it happen. But, if you just want to make sure the response
> content type has the charset, leave the Produces with application/json and
> make a post process interceptor that appends the charset to the content
> type. That's step 1. Let me know if you need more info on accepting UTF8
> data via multipart form uploads.
>
> Sent from my iPhone
>
> On Nov 8, 2012, at 9:04 PM, Cesar Casasola wrote:
>
> I want to encoding a REST service in UTF-8.
>
> The code is following:
>
> @GET
> @Path("/get")
> @Produces("application/json; charset=UTF-8")public Response restService() {
>
> //code
>
> return Response.status(200).entity(result).build();
>
>
> }
>
> This is correct?
>
>
> I'm encoding in UTF-8 fort a Android client can consume the service, but
> It can't...Get HTTP code 465.
>
> what is the error?
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
>
> ___
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users