method

source_encoding

ruby latest stable - Class: Encoding::Converter
source_encoding()
public

Returns the source encoding as an Encoding object.