Google

def initialize arg @orig = @buffer = arg @encoding = check_encoding( @buffer ) @buffer = utf8_enc(@buffer) if [UTF16,UNILE,ISO_8859_1].include?(@encoding) @line = 0 end