#NEWLINE# def UnicodeDictReader( utf8_data , **kwargs ) : #NEWLINE# #INDENT# '\n    DictReader that works with unicode.\n    ' #NEWLINE# csv_reader = csv . DictReader ( utf8_data , ** kwargs ) #NEWLINE# for row in csv_reader : #NEWLINE# #INDENT# ( yield dict ( [ ( key , unicode ( value , 'utf-8' ) ) for ( key , value ) in row . iteritems ( ) ] ) )