diff --git a/lib/ruhoh/resources/pages/compiler.rb b/lib/ruhoh/resources/pages/compiler.rb index 31ae52a..49b9549 100644 --- a/lib/ruhoh/resources/pages/compiler.rb +++ b/lib/ruhoh/resources/pages/compiler.rb @@ -88,7 +88,7 @@ def rss compiled_path = @ruhoh.compiled_path(@ruhoh.to_url(config['url'], "rss.xml")) FileUtils.mkdir_p File.dirname(compiled_path) - File.open(compiled_path, 'w'){ |p| p.puts feed.to_xml } + File.open(compiled_path, 'w:UTF-8'){ |p| p.puts feed.to_xml } Ruhoh::Friend.say { green " > #{compiled_path}" } end