

def _unic(item, *args):
    try:
        return unicode(item, *args)
    except UnicodeError:
        try:
            ascii_text = str(item).encode('string_escape')
        except:
            return _unrepresentable_object(item)
        else:
            return unicode(ascii_text)
    except:
        return _unrepresentable_object(args)

dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/utils/unic.py _unic/VarMisuse@79/107 `item`->`args`