def utf8(data):
        if isinstance(data, str):
            return data.encode('utf-8')
        return data
Utf-8 encode data.
dataset/ETHPy150Open chalasr/Flask-P2P/venv/lib/python2.7/site-packages/wheel/util.py/utf8