fn is_unsafe_ascii(ch: char) -> boolExpand description
Whether ch is an ASCII char that URL_PATH_ENCODE_SET would encode. The set’s membership
test is crate-private, so probe it via utf8_percent_encode (which encodes an ASCII char iff
it’s in the set). ASCII-only: the caller keeps non-ASCII verbatim.