pub fn append_truncation_marker( output: &mut String, marker: &str, maximum_bytes: usize, )
Append bounded UTF-8 text without splitting characters.