(self)
return self.tokenizer.stream.charEncoding[0].name
Name of the character encoding that was used to decode the input stream, or
        :obj:`None` if that is not determined yet
Name of the character encoding that was used to decode the input stream, or
        :obj:`None` if that is not determined yet
Name of the character encoding that was used to decode the input stream or : obj : None if that is not determined yet
def documentEncoding(self):
        """Name of the character encoding that was used to decode the input stream, or
        :obj:`None` if that is not determined yet

        """
        if not hasattr(self, 'tokenizer'):
            return None
        return self.tokenizer.stream.charEncoding[0].name
def documentEncoding ( self ) : if not hasattr ( self , 'tokenizer' ) : return None return self . tokenizer . stream . charEncoding [ 0 ] . name