From 93493fd2e9210ebdd07c3448c9e31f9fb04161f0 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 31 Dec 2020 02:29:29 +0000 Subject: [PATCH] Use UTF-8 instead of ASCII --- blog/convert.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/convert.rb b/blog/convert.rb index 6fb86d7..46d0393 100644 --- a/blog/convert.rb +++ b/blog/convert.rb @@ -32,5 +32,5 @@ files.each do |file| document.search('//*[not(ancestor-or-self::code)]/text()').each do |t| t.replace(perform_katex_sub(inline_cache, display_cache, t.content)) end - File.write(file, document.to_html(encoding: 'US-ASCII')) + File.write(file, document.to_html(encoding: 'UTF-8')) end