def ustr(s, encoding="utf-8"):
        if isinstance(s, str):
            return s.decode(encoding)
        else:
            return unicode(s)
Convert argument to unicode string.
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/compat.py/ustr