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,
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
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 co