'Convert text to six.text_type
:param x: text to parse
:return: six.text_type result'

@staticmethod
def _unicode_text_factory(x):

    try:
        return six.text_type(x, u'utf-8')
    except Exception:
        return six.text_type(x, sickbeard.SYS_ENCODING, errors=u'ignore')
