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