Skip to main content

invisible

Function invisible 

Source
pub fn invisible(c: char) -> bool
Expand description

1.9 R3-3e-1: characters that make a text read differently from what it is, or hide text a person reviewing it cannot see: bidi marks, embeddings, overrides and isolates, zero-width space, the invisible operators, a byte-order mark, tag characters and the variation selector supplement; and (1.9 erratum) the soft hyphen, the Mongolian vowel separator, the combining grapheme joiner, the Hangul fillers, the Khmer inherent vowels and the line and paragraph separators (not controls, so they would break a one-line text), the whole block U+2060–U+206F (with the deprecated format controls), the interlinear annotation characters (they hide annotation text) and the invisible format controls of Egyptian hieroglyphs, shorthand and musical notation. Every text field refuses them; engines strip them from foreign content. The joiners U+200C/U+200D and U+FE00–FE0F stay: emoji and Persian need them; the visible Arabic and Syriac signs (U+0600–0605, U+06DD, U+070F, U+08E2) too.