FIX: Add charset=utf-8 to content-type text/plain (#497)

FIX: Add charset=utf-8 to content-type text/plain (#497)

diff --git a/lib/mini_profiler/profiler.rb b/lib/mini_profiler/profiler.rb
index 7e4b9e4..efd5248 100644
--- a/lib/mini_profiler/profiler.rb
+++ b/lib/mini_profiler/profiler.rb
@@ -630,7 +630,7 @@ module Rack
     end
 
     def text_result(body)
-      headers = { 'Content-Type' => 'text/plain' }
+      headers = { 'Content-Type' => 'text/plain; charset=utf-8' }
       [200, headers, [body]]
     end
 

GitHub sha: a93060ef

This commit appears in #497 which was merged by SamSaffron.