Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: XML-RPC
-
Labels:None
Description
The XMLRPCMessageProcessor class currently hard-codes ISO-8859-1 as the character set for its InputStreamReader and for the contents of <base64> elements. It should be possible to either specify the expected response encoding when constructing an XMLRPCServerProxy, or for the class to have some logic to determine the appropriate character set based on the HTTP headers, XML declaration, and possible the response content itself. The latter is obviously preferable, but being able to specify the expected response encoding would be a step in the right direction.
Any word on this? I've been able to work around it on a service that I know is UTF-8 by using the following code on all string values, but this is obviously not ideal: