pub fn is_known_encoding(label: &str) -> boolExpand description
Whether label names an encoding Git can decode (ISO-8859-1 or any encoding
resolvable via resolve). Unknown names (e.g. the test’s non-utf-8) return
false, matching Git’s logmsg_reencode no-op fallback.