From c58c5b87827716b9b8c2a9765bed245cc687a812 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 11 Feb 2014 17:48:52 -0500 Subject: [PATCH] Default to using the UTF-8 encoding when reading files. Fixes #2029. --- lib/jekyll/configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/configuration.rb b/lib/jekyll/configuration.rb index 9566a295..0ec0c5da 100644 --- a/lib/jekyll/configuration.rb +++ b/lib/jekyll/configuration.rb @@ -16,7 +16,7 @@ module Jekyll 'timezone' => nil, # use the local timezone - 'encoding' => nil, # use the system encoding + 'encoding' => 'utf-8', # always use utf-8 encoding. NEVER FORGET 'safe' => false, 'detach' => false, # default to not detaching the server