Permalink
Browse files

Force UTF-8 for compile writing

  • Loading branch information...
1 parent 006f5e5 commit 9bcb8be35b058615b4013f302f61405a4d21dbe8 @plusjade plusjade committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruhoh/compiler.rb
View
@@ -25,7 +25,7 @@ def pages
@page.change(p['id'])
FileUtils.mkdir_p File.dirname(@page.compiled_path)
- File.open(@page.compiled_path, 'w') { |p| p.puts @page.render }
+ File.open(@page.compiled_path, 'w:UTF-8') { |p| p.puts @page.render }
Ruhoh::Friend.say { green "processed: #{p['id']}" }
end

0 comments on commit 9bcb8be

Please sign in to comment.