From 4626d5b3ae67015bc153ea7543792bf0c52bc26a Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 12 Aug 2019 21:44:37 -0700 Subject: Remove old encoding workaround --- lib/blog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blog.rb b/lib/blog.rb index fe552e5..656f815 100644 --- a/lib/blog.rb +++ b/lib/blog.rb @@ -1,7 +1,7 @@ require 'date' def parse_post filename - file_raw = File.read(src filename).force_encoding('UTF-8').split('---') + file_raw = File.read(src filename).split('---') post = YAML.load file_raw[0] post['date'] = DateTime.parse(post['date']) -- cgit v1.2.3