Skip to main content

resolve

Function resolve 

Source
pub fn resolve(label: &str) -> Option<&'static Encoding>
Expand description

Resolve an encoding label the way Git uses it in config and commit objects.

Git accepts names like eucJP that Encoding::for_label does not recognize. ISO-8859-1 is handled separately (strict Latin-1).