diff options
-rw-r--r-- | charset.rb | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -9,7 +9,6 @@ $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'>Change Charset to plain ASCII</a>" - BACK = CGI.escapeHTML("↩") YES = CGI.escapeHTML('✔') NO = CGI.escapeHTML('✘') @@ -25,8 +24,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'>If you see all these characters: #{CGI.escapeHTML('↩✔✘?–↞←→↠✍⌧')} you can safely change the charset to UTF-8</a>" - BACK = CGI.escapeHTML("back") + 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>" YES = CGI.escapeHTML('OK') NO = CGI.escapeHTML('NO') |