[ 
https://issues.apache.org/jira/browse/WW-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917211#action_12917211
 ] 

Max Voronoy commented on WW-3483:
---------------------------------

At line 239 of JSONUtil.java:

     in = new ByteArrayInputStream(json.getBytes());

Should be replaced by:
    
     in = new 
ByteArrayInputStream(json.getBytes(serializationParams.getEncoding()));


> JSON Plugin changing content codification after gzip
> ----------------------------------------------------
>
>                 Key: WW-3483
>                 URL: https://issues.apache.org/jira/browse/WW-3483
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.1.8.1
>         Environment: windows, glassfish v2,1
>            Reporter: David Canós
>
> After adding the gzip param to a JSON-type result the response still remain 
> as application/json and charset = utf8 but the content is badly encoded. 
> It is actually encoded as iso: á, ë, ... are seeing wrong.
> If you remove the gzip param it is working properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to