A curated map covering only characters that are wrong, not merely unusual: a look-alike standing in for the character actually meant, encoding damage, or an invisible character with no content. Anything that carries meaning is left alone and reported, so it can be retained via the exceptions argument of check_disallowed_chars() rather than flattened.

util_disallowed_char_replacements()

Value

A named character vector; names are the text to find, values the replacement.

Details

Correct typography is deliberately absent. U+2033 DOUBLE PRIME is the right character for arcseconds, and U+2030 PER MILLE has a technical meaning, so rewriting them to ASCII would lose information rather than fix a mistake.

Letters are in this map only as look-alikes: a Greek letter identical to an ASCII letter or the micro sign, or a symbol form of a Greek letter, each rewritten as the character it imitates. Any other unexpected letter is either a genuine name (Briceno, Klimesova, Osvaldsson with their accents), which belongs in the exceptions argument of check_disallowed_chars(), or a mangling of a symbol (OPSII for Phi_PSII), which only the curator can resolve.

Written as \uXXXX escapes because several of these characters are invisible or indistinguishable from their replacement in a source file.