def ntob(n, encoding='ISO-8859-1'):
        # In Python 3, the native string type is unicode
        return n.encode(encoding)
Return the given native string as a byte string in the given encoding.
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/libs/cherrypy/wsgiserver/wsgiserver3.py/ntob