find and optionally reveal or remove non-printing special characters from a string literal