This commit is contained in:
Jeena 2013-01-07 01:38:31 +01:00
parent 7c841430a2
commit 6d7d3cbc9d
2 changed files with 7 additions and 5 deletions

View file

@ -349,7 +349,7 @@ class NewPost(Helper.RestorableWindow):
count = 256 - len(self.textInput.toPlainText())
if count >= 0:
message = Helper.PostModel()
message.text = self.textInput.toPlainText()
message.text = unicode(self.textInput.toPlainText().toUtf8(), "utf-8")
message.inReplyTostatusId = self.status_id
message.inReplyToEntity = self.reply_to_entity
message.location = None