def __init__(self, f, dialect=excel, encoding="utf-8", **kwds): f = UTF8Recoder(f, encoding) self.reader = imported_csv_reader(f, dialect, **kwds)