UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 3 2: ordinal not in range(128)
<p>I am parsing an xsl file using xlrd. Most of the things are working fine. I have a dictionary where keys are strings and values are lists of strings. All the keys and values are unicode. I can print most of the keys and values using str() method. But some values have the unicode character - \u2013 for which I get the above error. I suspect that this is happening because this is unicode embedded in unicode and python interpreter cannot decode it. So how can I get rid of this error? Thanks in advance.</p>
