users@jersey.java.net

[Jersey] Re: Set specific encoding in Jersey server

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Thu, 09 Jun 2011 13:20:00 +0200

"iso-88591" is not valid charset, try "iso-8859-1". See http://www.iana.org/assignments/character-sets.


On 6/9/11 12:39 PM, Maxrunner wrote:
> Im using jersey with jackson, and this does not work:
>
>
> @GET
> @Produces({"application/x-www-form-urlencoded;charset='iso-88591'",MediaType.APPLICATION_JSON})
> @Path("/getOrganica")
> public OrganicaMobileEntity getOrganica(){
>
> return fillOrganica(123,"Organicão Mind","2010-12-23",true);
>
> }
>
> Gives me an error.
>
>
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Set-specific-encoding-in-Jersey-server-tp4618027p6457283.html
> Sent from the Jersey mailing list archive at Nabble.com.
>