From 64ef8b4eab07a66dfb29ec7e5a7f63770826abf5 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Tue, 16 Feb 2010 11:27:40 +0100 Subject: use everytime utf-8 --- html.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'html.rb') diff --git a/html.rb b/html.rb index b555eb0..d8b05ae 100644 --- a/html.rb +++ b/html.rb @@ -24,11 +24,7 @@ class HTML @header = {} @header["type"] = "text/html" # @header["type"] = "application/xhtml+xml" - if $cgi.accept_charset =~ /utf-8/ || $cgi.accept_charset =~ /\*/ - @header["charset"] = "utf-8" - else - @header["charset"] = "iso-8859-1" - end + @header["charset"] = "utf-8" @body = "" @htmlheader = '' -- cgit v1.2.3