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