def decode_utf_8(string_in):
    return string_in.decode('utf-8') if not isinstance(string_in, unicode) else string_in
safely decode string into unicode string
dataset/ETHPy150Open Ron89/thesaurus_query.vim/autoload/thesaurus_query/tq_common_lib.py/decode_utf_8