def char_decoding(value):
    """ Decode from 'UTF-8' string to unicode.

    :param value:
    :return:
    """
    if isinstance(value, bytes):
        return value.decode('utf-8')
    return value
