lib/nanoc-conref-fs/datafiles.rb in nanoc-conref-fs-0.6.6 vs lib/nanoc-conref-fs/datafiles.rb in nanoc-conref-fs-0.6.7

- old
+ new

@@ -43,10 +43,10 @@ end def self.collect_data(dir) data_files = {} Dir["#{dir}/**/*.{yaml,yml}"].each do |filename| - data_files[filename] = File.read(filename) + data_files[filename] = File.read(filename, encoding: 'UTF-8') end data_files end def self.process(data_files, config, rep)