summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmlrpc/client.rb')
-rw-r--r--lib/xmlrpc/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index 074f5014cf..dadd3279f2 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -500,7 +500,7 @@ module XMLRPC
def do_rpc(request, async=false)
header = {
"User-Agent" => USER_AGENT,
- "Content-Type" => "text/xml",
+ "Content-Type" => "text/xml; charset=utf-8",
"Content-Length" => request.size.to_s,
"Connection" => (async ? "close" : "keep-alive")
}