docs: def setup(self):
          """Setup."""
  
          self.normalize = self.config['normalize'].upper()
          self.convert_encoding = self.config['convert_encoding'].lower()
          self.errors = self.config['errors'].lower()
  
          if self.convert_encoding:
              self.convert_encoding = codecs.lookup(
                  filters.PYTHON_ENCODING_NAMES.get(self.default_encoding, self.default_encoding).lower()
              ).name
  
              # Don't generate content with BOMs
              if (
                  self.convert_encoding.startswith(('utf-32', 'utf-16')) and
                  not self.convert_encoding.endswith(('le', 'be'))
              ):
                  self.convert_encoding += '-le'
  
              if self.convert_encoding == 'utf-8-sig':
                  self.convert_encoding = 'utf-8'