'Given a string and its encoding, decodes the string into Unicode.
%encoding is a string recognized by encodings.aliases'

def _to_unicode(self, data, encoding, errors='strict'):

    return unicode(data, encoding, errors)
