I am wondering if anyone knows about a console output sanitizer, that takes an output string and checks if it will be clear for a human sitting on a UTF-8 console what the string contains if it is printed on standard output or similar?
A Qwant search only turned up a filename sanitizer (sanitize-filename — Rust utility // Lib.rs). But thinking of characters like the one described at U+202E RIGHT-TO-LEFT OVERRIDE - Unicode Explorer (there are tons of such chars I guess), I have the strong feeling that many comandline programs could profit from such a sanitizer.