def str_to_unicode(x, encoding='utf-8'):
    """ Do it First after Loading some text """
    if isinstance(x, str):
        if not isinstance(x, str):
            return str(x, encoding)
    else:
        return x
