docs: def convert(self, text, encoding):
          """Convert the text."""
  
          if self.normalize in ('NFC', 'NFKC', 'NFD', 'NFKD'):
              text = unicodedata.normalize(self.normalize, text)
          if self.convert_encoding:
              text = text.encode(self.convert_encoding, self.errors).decode(self.convert_encoding)
              encoding = self.convert_encoding
          return text, encoding