pub(crate) const INVALID_UTF8_REASON: &str = "not valid UTF-8";
Why a string whose own bytes are not valid UTF-8 is refused: a UTF-8 string, or a native one R reads without translation (any native string in a UTF-8 session).