encoding()
The external encoding for standard input.
# File lib/irb/input-method.rb, line 125 def encoding @io.external_encoding end