shizmob/pydle

Long UTF-8 message got truncated

Mosesofmason opened this issue · 0 comments

When trying to send a long message that includes UTF-8 characters, pydle messages consistently truncate the end of the message rather than splitting it into two. For instance, when I send using:

await self.message (target=target, message="一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十" )

I received a garbled text at the end of the message, and the remainder of the message was lost.

image

ASCII message is OK.