diff options
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/atom_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/atom_serializer.rb b/app/lib/atom_serializer.rb index 21f485c2d..4e01c3d43 100644 --- a/app/lib/atom_serializer.rb +++ b/app/lib/atom_serializer.rb @@ -7,7 +7,7 @@ class AtomSerializer def render(element) document = Ox::Document.new(version: '1.0') document << element - "<?xml version=\"1.0\"?>#{Ox.dump(element)}" + ('<?xml version="1.0"?>' + Ox.dump(element)).force_encoding('UTF-8') end end |