From 414c3320dc4aba4e17c58f78191b200c8ce65ec5 Mon Sep 17 00:00:00 2001 From: Andrew Glover Date: Wed, 11 Apr 2012 20:48:08 -0400 Subject: [PATCH] Fixes issue #94 -- https://github.com/rightscale/right_aws/issues/94 --- lib/awsbase/right_awsbase.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awsbase/right_awsbase.rb b/lib/awsbase/right_awsbase.rb index 30bafe3..ef85a89 100644 --- a/lib/awsbase/right_awsbase.rb +++ b/lib/awsbase/right_awsbase.rb @@ -1271,6 +1271,7 @@ def parse(xml_text, params={}) end xml.parse else + xml_text.force_encoding 'utf-8' REXML::Document.parse_stream(xml_text, self) end end