Emoji in nicks causes miscalculation of bytes in long message splitter #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 3 hours 47 minutes
Due Date
foxiepaws
3 hours 47 minutes
No due date set.
Dependencies
No dependencies set.
Reference: foxiepaws/HomingPigeon#4
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
A miscalculation occurs when a display name has emoji in it.
becomes
remains
rdietsemper
and
remains
art was triggering it. I need to wire up a better way to detect bots.
note: domains, IP and versions scrubbed to match length to protect privacy.
Likely caused by
String.length/1
use instead ofbyte_size/1
. Thankfully this will have a simple easy fix.it did not, in fact fix #4
dff5ec0bde/lib/irc_bot.ex (L89)
probably involves this