'Called if a charset was provided but is not supported by
the Python codecs module.  By default latin1 is assumed then
to not lose any information, you may override this method to
change the behavior.
:param charset: the charset that was not found.
:return: the replacement charset.'

def unknown_charset(self, charset):

    return 'latin1'
