circ
circ copied to clipboard
Complex unicode text crashes CIRC
I just found out that complex unicode ("zalgo" text) can cause CIRC 0.6.6 to crash. I haven't witnessed the behavior on the client-side, but here's a reproducible test case:
05:04 < me> Mͬ̊͛̈Yͥ̽̉ͣ ͋ͧͪ͋Eͭ̑̂́Ÿ̈̅ͪȆ͂ͪ̔Sͧ̐̀ͨ ́͊͐̑A̓̓̔ͫR̄̐ͮ̍E͆̂̈́̎ ̀̇ͪ́M͛̄͛͗E̽̃̈́̐L̍̍̃͑T͂͒̽͑İ͋̓̉N̈́ͫ̔̚Ǵ͑͊̑ 05:04 -!- person1 has quit [Input/output error] 05:04 -!- person2 has quit [Input/output error] 05:04 -!- person3 has quit [Input/output error]
Hopefully github won't clober my unicode too much. If it does, feel free to generate zalgo text on any generator, it's pretty easy to generate text that causes that.
I can confirm that this happens even for simple cases like a trademark symbol (™).