Split IRC messages exceeding 512 bytes into multiple ones #41
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jammella/gancio.notification#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
IRC messages should not exceed 512 bytes in length as per RFC 1459, and the IRC library in use doesn't transparently split long messages on this limit, which results in server truncating incoming messages.
Split long messages and send each chunk in a separate PRIVMSG. Mind the utf-8 multibyte encoding when splitting.