Fix text encode for cyrillic
This commit is contained in:
parent
118d65cbd8
commit
c12b136b76
|
@ -268,7 +268,7 @@ class Session(YowsupApp):
|
|||
self.logger.debug('received TextMessage' +
|
||||
' '.join(map(str, [
|
||||
_id, _from, to, notify, timestamp,
|
||||
participant, offline, retry, body
|
||||
participant, offline, retry, body.encode("utf-8")
|
||||
]))
|
||||
)
|
||||
buddy = _from.split('@')[0]
|
||||
|
|
Loading…
Reference in a new issue