pub fn truncate_utf8(value: &mut String, limit: usize)
Truncate to a byte budget without splitting a UTF-8 character.