lib/tdiary/dispatcher/index_main.rb in tdiary-5.0.4 vs lib/tdiary/dispatcher/index_main.rb in tdiary-5.0.5
- old
+ new
@@ -19,10 +19,10 @@
status = nil
@tdiary = create_tdiary
begin
head = {
- 'Content-Type' => 'text/html',
+ 'Content-Type' => 'text/html; charset=UTF-8',
'Vary' => 'User-Agent'
}
head['status'] = status if status
body = ''
head['Last-Modified'] = CGI::rfc1123_date( tdiary.last_modified )