aboutsummaryrefslogtreecommitdiff
path: root/charset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'charset.rb')
-rw-r--r--charset.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/charset.rb b/charset.rb
index fa77164..a279b6f 100644
--- a/charset.rb
+++ b/charset.rb
@@ -17,13 +17,13 @@
# along with dudle. If not, see <http://www.gnu.org/licenses/>. #
############################################################################
-USEUTF = true
-USEUTF = false if $cgi.user_agent =~ /.*MSIE [56]\..*/
-USEUTF = false if $cgi.cookies["ascii"][0]
-USEUTF = true if $cgi.include?("utf")
-USEUTF = false if $cgi.include?("ascii")
+$USEUTF = true
+$USEUTF = false if $cgi.user_agent =~ /.*MSIE [56]\..*/
+$USEUTF = false if $cgi.cookies["ascii"][0]
+$USEUTF = true if $cgi.include?("utf")
+$USEUTF = false if $cgi.include?("ascii")
-if USEUTF
+if $USEUTF
NOSORT = CGI.escapeHTML('▾▴')
SORT = CGI.escapeHTML('▴')
REVERSESORT = CGI.escapeHTML('▾')