You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "srinath ramachandran (JIRA)" <xm...@ws.apache.org> on 2005/06/22 01:11:17 UTC

[jira] Created: (XMLRPC-63) XML-RPC server ignores the encoding specified in th encoding

XML-RPC server ignores the encoding specified in th encoding
------------------------------------------------------------

         Key: XMLRPC-63
         URL: http://issues.apache.org/jira/browse/XMLRPC-63
     Project: XML-RPC
        Type: Bug
    Reporter: srinath ramachandran


The xml-rpc client send the xml request with encoding set as ISO-8859-1
<?xml version="1.0" encoding="ISO-8859-1"?> 
<methodCall><methodName>getUserConfig</methodName>
	<params><param><value>kåkä</value></param>
	<param><value></value></param></params>
</methodCall>
 
The XML-RPC server parses and gives a wrong value for the latin-1 
parameter, if the the UNIX environment property LANG=en_US.UTF-8 ..
I tried with both XML-RPC version 1.2 and 2.0. Both fails.
 
It works fine if Unix environment property LANG=en_US.iso885915
 
XML-RPC server is not considering the encoding="ISO-8859-1" present in 
the xml request while parsing the request xml. It takes the OS 
encoding.
both XML-RPC version 1.2 and 2.0 same behaviour.
 
Is there any work aroung to solve this issue ?
Can you help me by providing a patch for this ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Kommentiert: (XMLRPC-63) XML-RPC server ignores the encoding specified in th encoding

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLRPC-63?page=comments#action_12314200 ] 

Jochen Wiedmann commented on XMLRPC-63:
---------------------------------------

I have a hard time to believe this. In particular, I'd like to see some reproducable sample code first.

Besides, assuming that the problem actually exists, it is unclear to me, whether client or server do the wrong thing. Are they on the same machine? In other words, is the clients environment changed as well? If so, you should try to create a log of the HTTP request using some tool like ethereal or tcpmon so that we can inspect the data, which is sent from the client. 


> XML-RPC server ignores the encoding specified in th encoding
> ------------------------------------------------------------
>
>          Key: XMLRPC-63
>          URL: http://issues.apache.org/jira/browse/XMLRPC-63
>      Project: XML-RPC
>         Type: Bug
>     Reporter: srinath ramachandran

>
> The xml-rpc client send the xml request with encoding set as ISO-8859-1
> <?xml version="1.0" encoding="ISO-8859-1"?> 
> <methodCall><methodName>getUserConfig</methodName>
> 	<params><param><value>kåkä</value></param>
> 	<param><value></value></param></params>
> </methodCall>
>  
> The XML-RPC server parses and gives a wrong value for the latin-1 
> parameter, if the the UNIX environment property LANG=en_US.UTF-8 ..
> I tried with both XML-RPC version 1.2 and 2.0. Both fails.
>  
> It works fine if Unix environment property LANG=en_US.iso885915
>  
> XML-RPC server is not considering the encoding="ISO-8859-1" present in 
> the xml request while parsing the request xml. It takes the OS 
> encoding.
> both XML-RPC version 1.2 and 2.0 same behaviour.
>  
> Is there any work aroung to solve this issue ?
> Can you help me by providing a patch for this ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (XMLRPC-63) XML-RPC server ignores the encoding specified in th encoding

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-63?page=all ]
     
Jochen Wiedmann closed XMLRPC-63:
---------------------------------

    Resolution: Cannot Reproduce

My question wasn't replied in several months. Consequently, I am closing the issue.


> XML-RPC server ignores the encoding specified in th encoding
> ------------------------------------------------------------
>
>          Key: XMLRPC-63
>          URL: http://issues.apache.org/jira/browse/XMLRPC-63
>      Project: XML-RPC
>         Type: Bug

>     Reporter: srinath ramachandran

>
> The xml-rpc client send the xml request with encoding set as ISO-8859-1
> <?xml version="1.0" encoding="ISO-8859-1"?> 
> <methodCall><methodName>getUserConfig</methodName>
> 	<params><param><value>kåkä</value></param>
> 	<param><value></value></param></params>
> </methodCall>
>  
> The XML-RPC server parses and gives a wrong value for the latin-1 
> parameter, if the the UNIX environment property LANG=en_US.UTF-8 ..
> I tried with both XML-RPC version 1.2 and 2.0. Both fails.
>  
> It works fine if Unix environment property LANG=en_US.iso885915
>  
> XML-RPC server is not considering the encoding="ISO-8859-1" present in 
> the xml request while parsing the request xml. It takes the OS 
> encoding.
> both XML-RPC version 1.2 and 2.0 same behaviour.
>  
> Is there any work aroung to solve this issue ?
> Can you help me by providing a patch for this ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira