(self, value, encoding, fallback_encoding, fallback_errors)
Decode a single field from a pax record.
Decode a single field from a pax record.
Decode a single field from a pax record .
def _decode_pax_field(self, value, encoding, fallback_encoding, fallback_errors):
        """Decode a single field from a pax record.
        """
        try:
            return value.decode(encoding, "strict")
        except UnicodeDecodeError:
            return value.decode(fallback_encoding, fallback_errors)
def _decode_pax_field ( self , value , encoding , fallback_encoding , fallback_errors ) : try : return value . decode ( encoding , "strict" ) except UnicodeDecodeError : return value . decode ( fallback_encoding , fallback_errors )