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

Reply via email to