'Internally strings are utf8 encoded.'

def ConvertFromWireFormat(self, value, container=None):

    try:
        return unicode(value[2], 'utf8')
    except UnicodeError:
        raise rdfvalue.DecodeError('Unicode    decoding    error')
