class IRB::StdioInputMethod

def encoding

The external encoding for standard input.
def encoding
  @stdin.external_encoding
end