lib/tdiary/dispatcher/update_main.rb in tdiary-5.0.4 vs lib/tdiary/dispatcher/update_main.rb in tdiary-5.0.5
- old
+ new
@@ -18,10 +18,10 @@
@tdiary = create_tdiary
begin
head = {}; body = ''
body = tdiary.eval_rhtml
head = {
- 'Content-Type' => 'text/html',
+ 'Content-Type' => 'text/html; charset=UTF-8',
'charset' => conf.encoding,
'Content-Length' => body.bytesize.to_s,
'Vary' => 'User-Agent',
'X-Frame-Options' => 'SAMEORIGIN'
}