Google

def read begin str = @source.readline('>') str = encode(str) if str and @to_utf @buffer << str rescue @source = nil end end