I\'m trying to deal with unicode in python 2.7.2. I know there is the .encode(\'utf-8\')
thing but 1/2 the time when I add it, I get errors, and 1/2 the time wh
This is a very old question but just wanted to add one partial suggestion. While I sympathise with the OP's pain - having gone through it a lot myself - here's one (partial) answer to make things "easier". Put this at the top of any Python 2.7 script:
from __future__ import unicode_literals
This will at least ensure that your own literal strings default to unicode rather than str.