Looks like it is something related to Jettison...XML works OK.
Need to investigate more.

Thanks, Sergey


On 14/03/14 12:29, Jose María Zaragoza wrote:
I've got to return "application/json;charset=iso-8859-1" but
i've checked that it always returns UTF-8 encoding

I tested with universalchardet by Mozilla , with Firefox browser (
changing View -> Encoding  ) and with
InputStreamReader(connection.getInputStream(),"iso-8859-1"));

For example:

CODE:200
HEADER:{[HTTP/1.1 200 OK], Date=[Fri, 14 Mar 2014 12:26:13 GMT],
Transfer-Encoding=[chunked],
Content-Type=[application/json;charset=iso-8859-1],
Server=[Apache-Coyote/1.1]}
Detected encoding = UTF-8

Why is not encoding in iso-8859-1 ?

Regards


Reply via email to