aboutsummaryrefslogtreecommitdiff
path: root/charset.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-10-24 23:03:24 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-10-24 23:03:24 +0200
commit967c201902dcd36899122b75d26ed663e7e0066e (patch)
tree75a242562d73efa7126ddcf17d8357fdd4827663 /charset.rb
parentc28ecdbbab576455921278d8117c2f20e008d9d8 (diff)
moved config to left + sample text for Sandbox
Diffstat (limited to 'charset.rb')
-rw-r--r--charset.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/charset.rb b/charset.rb
index 3460bd4..f71d37b 100644
--- a/charset.rb
+++ b/charset.rb
@@ -8,7 +8,7 @@ $utfcookie = CGI::Cookie.new("utf", "true")
$utfcookie.path = "/"
if ($cgi.include?("utf") || $cgi.cookies["utf"][0]) && !$cgi.include?("ascii")
$utfcookie.expires = Time.now+1*60*60*24*365
- UTFASCII = "<a href='?ascii' style='text-decoration:none'>ASCII</a>"
+ UTFASCII = "<a href='?ascii' style='text-decoration:none'>Change Charset to plain ASCII</a>"
BACK = CGI.escapeHTML("↩")
YES = CGI.escapeHTML('✔')
@@ -25,7 +25,7 @@ if ($cgi.include?("utf") || $cgi.cookies["utf"][0]) && !$cgi.include?("ascii")
DELETE = CGI.escapeHTML("⌧")
else
$utfcookie.expires = Time.now-1*60*60*24*36
- UTFASCII = "<a href='?utf' style='text-decoration:none'>UTF-8 (#{CGI.escapeHTML('↩✔✘?–↞←→↠✍⌧')})</a>"
+ UTFASCII = "<a href='?utf' style='text-decoration:none'>If you see all these characters: #{CGI.escapeHTML('↩✔✘?–↞←→↠✍⌧')} you can safely change the charset to UTF-8</a>"
BACK = CGI.escapeHTML("back")
YES = CGI.escapeHTML('OK')