#[non_exhaustive]pub enum Warning {
Utn57(String),
RepairedSuffixSeparator {
byte_offset: usize,
original: char,
},
}Expand description
Something a conversion did beyond what its input said, including optional heuristic repairs.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Utn57(String)
The UTN #57 encoder spelled a hub run with a ZWJ the hub did not carry.
The hub is positional, and a run that begins or ends with a joined-form glyph — a medial at
the start, a medial or initial at the end — can only be joined to nothing by inventing a
joiner. When the source meant a whole word, that is a gap in the hub’s inventory: the glyph
the source needed in that position does not exist there, the way G i O f did not until
E096 (Satsrag/mongol-convert#32). The reason is the encoder’s own message and names the run’s
codes, so the missing glyph can be read off it.
RepairedSuffixSeparator
An opt-in heuristic replaced a space before a recognised suffix with NNBSP. The offset is a UTF-8 byte offset in the original input, before any repairs or conversion.