summaryrefslogtreecommitdiff
path: root/lib/highline/compatibility.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/highline/compatibility.rb')
-rw-r--r--lib/highline/compatibility.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/highline/compatibility.rb b/lib/highline/compatibility.rb
index 7a99819..1083686 100644
--- a/lib/highline/compatibility.rb
+++ b/lib/highline/compatibility.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
unless STDIN.respond_to? :getbyte
class IO
alias_method :getbyte, :getc