diff --git a/app/views/layouts/errors.html.haml b/app/views/layouts/errors.html.haml
index d07daf0aab999b625f728ddd35ebd3489bd5535d..bf48b1caa91c3d089e32a258370dfe88efa76edd 100644
--- a/app/views/layouts/errors.html.haml
+++ b/app/views/layouts/errors.html.haml
@@ -4,7 +4,7 @@
     %meta{ :content => "width=device-width, initial-scale=1", :name => "viewport" }
     %title= yield(:title)
     %style
-      = Rails.application.assets_manifest.find_sources('errors.css').first.to_s.html_safe
+      = Rails.application.assets_manifest.find_sources('errors.css').first.to_s.force_encoding('UTF-8').html_safe
   %body
     .page-container
       = yield
diff --git a/app/views/layouts/oauth_error.html.haml b/app/views/layouts/oauth_error.html.haml
index 697bd9b58642862700a167b54347361f6aff79a1..9262d9032cb0e5d287b27f2540acfd44a6c1dcf4 100644
--- a/app/views/layouts/oauth_error.html.haml
+++ b/app/views/layouts/oauth_error.html.haml
@@ -5,7 +5,7 @@
     %title= yield(:title)
     = stylesheet_link_tag 'application_utilities'
     %style
-      = Rails.application.assets_manifest.find_sources('errors.css').first.to_s.html_safe
+      = Rails.application.assets_manifest.find_sources('errors.css').first.to_s.force_encoding('UTF-8').html_safe
     :css
       svg {
         width: 280px;