code: def CharacterData(self, data):
          '''
          Expat character data event handler
          '''
  
          if data.strip():
              data = data.encode()
              if not self.data:
                  self.data = data
              else:
                  self.data += datf CharacterData(self, data):
          '''
          Expat character data event handler
          '''
  
          if data.strip():
              data = data.encode()
              if not self.data:
                  self.data = data
              else:
                  self.data += data
docs: Expat character data event handler