pub fn sanitize_binary(text: &str) -> String
pi’s sanitizeBinaryOutput: drops control characters other than tab, newline and carriage return, and Unicode interlinear annotations.
sanitizeBinaryOutput