def read_csv_file(path):
 from csv import reader
 with codecs.open(path, u'r', u'utf-8') as msgfile:
  data = msgfile.read()
  data = data.replace(chr(28), u'').replace(chr(29), u'')
  data = reader([r.encode(u'utf-8') for r in data.splitlines()])
  newdata = [[unicode(val, u'utf-8') for val in row] for row in data]
 return newdata

def read_csv_file ( path ) : from csv import reader with codecs . open ( path , u'r' , u'utf-8' ) as msgfile : data = msgfile . read ( ) data = data . replace ( chr ( 28 ) , u'' ) . replace ( chr ( 29 ) , u'' ) data = reader ( [ r . encode ( u'utf-8' ) for r in data . splitlines ( ) ] ) newdata = [ [ unicode ( val , u'utf-8' ) for val in row ] for row in data ] return newdata
read csv file and return as list of list .