fruit_to_lime 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ module SerializeHelper
|
|
32
32
|
elsif (varv.is_a?(Array))
|
33
33
|
varv = varv.map { |elem| SerializeHelper::serialize(elem) }.join("\n")
|
34
34
|
else
|
35
|
-
varv = varv.to_s.encode(:xml => :text)
|
35
|
+
varv = varv.to_s.encode(:xml => :text).encode('UTF-8')
|
36
36
|
end
|
37
37
|
"<#{varn}>#{ varv }</#{varn}>"
|
38
38
|
end.join("\n")
|