pub(crate) unsafe fn charsxp_to_cow_lossy(charsxp: SEXP) -> Cow<'static, str>Expand description
Read a CHARSXP as text whatever it holds, for a read that must not fail
(a name in a message, a class attribute): as try_charsxp_to_str, except
that a string marked as bytes, or one whose bytes are not valid UTF-8, is
decoded lossily (U+FFFD for each invalid sequence) instead of refused.