proxy server corrupts json encoding

View: New views
1 Messages — Rating Filter:   Alert me  

proxy server corrupts json encoding

by holod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, please, help me to find a solution.
I'm using json plugin. The base of my app is IBM WebSphere Portal Server 6.1, I'm writing portlets.

This is xml configuration for action
[code]
<action name="refreshProductList" class="MyClass">
            <interceptor-ref name="portletResponse">
                                application/json;charset=UTF-8
                        </interceptor-ref>
                        <interceptor-ref name="portletDefaultStack" />
            <interceptor-ref name="json"/>
            <result name="success" type="json">
            UTF-8
        true<!-- "false" corrupts encoding even in NON proxy mode -->
        application/json
            </result>              
        </action>
[/code]

The problem is:
When I'm invoking action directly, everything is OK. When Portal server is hidden behind proxy-server, json data is corrupted. I get bad characters in string instead of normal data. I'm using russian chars. They become corrupted.
What do I have to do?