def METHOD_NAME(self):
    # override default subtitle guess_encoding method to not include language-specific encodings guessing
    # chardet encoding detection seem to yield better results
    """Guess encoding using chardet.
    :return: the guessed encoding.
    :rtype: str
    """
    if self._guessed_encoding:
        return self._guessed_encoding
    logger.info('Guessing encoding for language %s', self.language)
    # guess/detect encoding using chardet
    encoding = chardet.detect(self.content)['encoding']
    logger.info('Chardet found encoding %s', encoding)
    if not encoding:
        # fallback on bs4
        logger.info('Falling back to bs4 detection')
        a = UnicodeDammit(self.content)
        logger.info("bs4 detected encoding: %s", a.original_encoding)
        if a.original_encoding:
            self._guessed_encoding = a.original_encoding
            return a.original_encoding
        raise ValueError(u"Couldn't guess the proper encoding for %s", self)
    self._guessed_encoding = encoding
    return encoding