lib/gitdocs.rb in siuying-gitdocs-0.4.14 vs lib/gitdocs.rb in siuying-gitdocs-0.4.15

- old
+ new

@@ -3,9 +3,15 @@ require 'dante' require 'socket' require 'shell_tools' require 'guard' +# Make sure text encoding is set to UTF_8 +if RUBY_VERSION =~ /1.9/ + Encoding.default_external = Encoding::UTF_8 + Encoding.default_internal = Encoding::UTF_8 +end + require 'gitdocs/markdown_converter' require 'gitdocs/markdown_template' require 'gitdocs/version' require 'gitdocs/configuration' require 'gitdocs/runner'