diff --git a/crates/pdf/src/tests/realtext.rs b/crates/pdf/src/tests/realtext.rs index 7d1ac97027..7fcd06dd56 100644 --- a/crates/pdf/src/tests/realtext.rs +++ b/crates/pdf/src/tests/realtext.rs @@ -801,7 +801,7 @@ fn digits_unnamed(text: &str) -> Vec { out } -/// #708, #811: a glyph whose ToUnicode value is U+FFFD isn't type showing "�". This subset font +/// #708, #811: a glyph whose ToUnicode value is U+FFFD isn't type showing `\u{FFFD}`. This subset font /// has no character map of its own, but the font is installed: each digit is found by its outline /// there, so the whole text stays one type object, with no outlines left behind. #[test] diff --git a/crates/ui-egui/src/panels/actions/playback.rs b/crates/ui-egui/src/panels/actions/playback.rs index bff0bd1d4d..ca9547889f 100644 --- a/crates/ui-egui/src/panels/actions/playback.rs +++ b/crates/ui-egui/src/panels/actions/playback.rs @@ -158,7 +158,7 @@ pub(crate) fn step_place(step: usize, in_batch: Option) -> String { } } -/// `text` as a status message shows it: control characters become `�`, and text past 80 +/// `text` as a status message shows it: control characters become `\u{FFFD}`, and text past 80 /// characters ends in `…`. pub(crate) fn shown_text(text: &str) -> String { const MAX: usize = 80;