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
    # type("")
Return the given string as a native string in the given encoding.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/_cpcompat.py/tonative