This project is closed and read-only.
Actions
Backport #531
closedXMLRPC with ISO8859-1 accentuation doesn't work.
Backport #531:
XMLRPC with ISO8859-1 accentuation doesn't work.
Status:
Closed
Assignee:
Description
=begin
If, on a XMLRPC server, I send a string with accents (and the format is not UTF-8), the client exits with an error:
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull': Missing end tag for 'string' (got "value") (REXML::ParseException)
Line:
Position:
Last 80 unconsumed characters:
Here is the offending code on XMLRPC Server:
require 'webrick'
require 'xmlrpc/server.rb'
servlet = XMLRPC::WEBrickServlet.new
servlet.add_handler("some_command") { "Extens\343o" }
server=WEBrick::HTTPServer.new(:Port => 9090)
trap("INT"){ server.shutdown }
server.mount("/RPC2", servlet)
server.start
=end
Actions