Hi. I need some help here with a unicode string I want to use with strptime.
>>> date
u'\xa08/15/2009'
>>> datetime.strptime(date, "%m/%d/%Y")
Traceback (most recent call last):
File "<pyshell#75>", line 1, in <module>
datetime.strptime(date, "%m/%d/%Y")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 0: ordinal not in range(128)
Thanks for your time.