describe 'GH-1171', site: true, stdio: true do before do File.write('nanoc.yaml', <', encoding: 'utf-8') File.write('lib/asdf.rb', 'EMOJI_🔥 = "hot"', encoding: 'utf-8') File.write('Rules', <') File.write('lib/asdf.rb', "# encoding: iso-8859-1\n\nBRØKEN = 1", encoding: 'ISO-8859-1') File.write('Rules', <