aboutsummaryrefslogtreecommitdiff
path: root/html.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-02-16 11:27:40 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-02-16 11:27:40 +0100
commit64ef8b4eab07a66dfb29ec7e5a7f63770826abf5 (patch)
treeb8d4a9fa1dcc074a1a72cd9098939a5a1a3b8f05 /html.rb
parent469dd956ae2f9722dca50efa02f64c7b45865f78 (diff)
use everytime utf-8
Diffstat (limited to 'html.rb')
-rw-r--r--html.rb6
1 files changed, 1 insertions, 5 deletions
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 = ''