From: Petr Klima Date: 2010-11-18T17:21:45+09:00 Subject: Re: XMLRPC (REXML) incorrectly handles UTF-8 data Hi, here is the reply from XMLRPC server: HTTP header: --------------- HTTP/1.1 200: OK Content-Length: 921 Content-Type: text/xml; charset=utf-8 Server: WEBrick/1.3.1 (Ruby/1.9.1/2010-01-10) Date: Thu, 18 Nov 2010 07:57:17 GMT Connection: Keep-Alive --------------- XML response (should be one line): --------------- resultok program_ver10.0.1153engine_ver10.0.424virus_db_ver42 4/3263 2010-11-1threat_descОпределен вирус EICAR_Test infections_found1pup s_found0infections_healed0 pups_healed0warnings0 --------------- As you can see, there's correct UTF-8 string in cyrillic in the middle of the XML. BTW, botp's suggested solution (Encoding.default_internal = Encoding.default_external = "UTF-8") doesn't work in Apache module Passenger 3.0.0 -- Posted via http://www.ruby-forum.com/.