Crash on display name with complex Unicode #327

Closed
opened 2025-10-14 15:46:05 -06:00 by navan · 0 comments
Owner

Originally created by @kenrachynski on 3/5/2024

I'm using 0.0.8 via cargo.

I enabled display names and iamb immediately crashed on me with the following message:

thread 'main' panicked at /var/home/krachynski/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iamb-0.0.8/src/message/mod.rs:822:25:
byte index 28 is not a char boundary; it is inside 'ї' (bytes 27..29) of `🇨🇦 🏴‍☠️ Poρїŋѕҡi 🏴‍☠️ 🇨🇦 -The-Mandalorian`

This user has been problematic for several clients I've tried. But hey, I'll keep trying the clients.

*Originally created by @kenrachynski on 3/5/2024* I'm using 0.0.8 via cargo. I enabled display names and iamb immediately crashed on me with the following message: ``` thread 'main' panicked at /var/home/krachynski/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iamb-0.0.8/src/message/mod.rs:822:25: byte index 28 is not a char boundary; it is inside 'ї' (bytes 27..29) of `🇨🇦 🏴‍☠️ Poρїŋѕҡi 🏴‍☠️ 🇨🇦 -The-Mandalorian` ``` This user has been problematic for several clients I've tried. But hey, I'll keep trying the clients.
navan closed this issue 2025-10-14 15:46:06 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/iamb#327
No description provided.