'Decode ASCII strings to unicode if a self.encoding is specified.'

def _a_to_u(self, aString):

    if (isinstance(aString, six.binary_type) and self.encoding):
        return aString.decode(self.encoding)
    else:
        return aString
