SyntaxFix
Write A Post
Hire A Developer
Questions
You need to unicode each element of the list individually
[x.encode('utf-8') for x in tmp]