(n, encoding='ISO-8859-1')
return n
Return the given string as a native string in the given encoding.
Return the given string as a native string in the given encoding.
Return the given string as a native string in the given encoding .
def tonative(n, encoding='ISO-8859-1'):
    """Return the given string as a native string in the given encoding."""
    # In Python 3, the native string type is unicode
    if isinstance(n, bytes):
        return n.decode(encoding)
    return n
def tonative ( n , encoding = 'ISO-8859-1' ) : # In Python 3, the native string type is unicode if isinstance ( n , bytes ) : return n . decode ( encoding ) return n