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