

def unicode_csv_reader(utf8_data, dialect=csv.excel):
    csv_reader = csv.reader(utf_8_encoder(utf8_data), dialect)
    for row in csv_reader:
        (yield [unicode(cell, 'utf-8') for cell in row])

dataset/ETHPy150Open sahana/eden/static/scripts/tools/people.py unicode_csv_reader/original