From 07b655c8db1b1c7e50db3ccda9905046510aac18 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Thu, 20 Jun 2013 22:06:52 +0200 Subject: [PATCH] Set default content type to include charset=utf-8 --- stoptime.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/stoptime.rb b/stoptime.rb index d4aa24d..4a93522 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -61,6 +61,7 @@ module StopTime def service(*a) @config = StopTime::Models::Config.instance @format = @request.path_info[/.([^.]+)/, 1]; + @headers["Content-Type"] = "text/html; charset=utf-8" super(*a) end