def resolve_encoding(alias, _aliases=_ENCODING_ALIASES):
 return _aliases.get(alias.lower(), alias)

def resolve_encoding ( alias , _aliases = _ENCODING_ALIASES ) : return _aliases . get ( alias . lower ( ) , alias )
return the encoding the given alias maps to .