Closed BuddhaSource closed 10 years ago
Hey @BuddhaSource What are you actually trying to post and what version of python are you using?
Hi @codingjester Sorry it was my fault. I was able to solve all the unicode errors by simply adding this on top of the py file. It just took lot of time to figure it out.
import sys;
reload(sys);
sys.setdefaultencoding("utf8")
While most of the posts that user copy paste runs fine however I can see lot of ascii errors at
resp = self.client.create_text(target_blog.id, title=post.title, body=post.content, tags=tags, date=post.date)
The error is in general with title or body.
While I do try to " decode('utf-8', 'ignore') " but still in vain. I get errors only from this library.
Any thoughts?