aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--poll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll.rb b/poll.rb
index 269fcb5..b323767 100644
--- a/poll.rb
+++ b/poll.rb
@@ -23,7 +23,7 @@ require "time"
require "pollhead"
require "timepollhead"
-$KCODE = "u"
+$KCODE = "u" if RUBY_VERSION < '1.9.0'
class String
@@htmlidcache = {}
@@htmlidncache = {}