I am receiving the below error with the dash character "-"
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 38: ordinal not in range(128)
I have tried using the following: skills.encode('utf-8') but I still get the error. Below is my code in which I am trying to write to csv.
writer.writerow([name.encode('utf-8'),
heading.encode('utf-8'),
location.encode('utf-8'),
education.encode('utf-8'),
summary,
currentRole,
allRoles,
companiesFollowed,
groups,
skills.encode('utf-8')])