Exemplo n.º 1
0
 def stop(self):
     super(UTF8QuotedPrintable, self).stop()
     
     log.info("Configuring UTF-8 character set to use Base-64 encoding.")
     charset.add_charset('utf-8', charset.SHORTEST, charset.BASE64, 'utf-8')
     charset.add_charset('utf8', charset.SHORTEST, charset.BASE64, 'utf8')
Exemplo n.º 2
0
 def start(self):
     super(UTF8QuotedPrintable, self).start()
     
     log.info("Configuring UTF-8 character set to use Quoted-Printable encoding.")
     charset.add_charset('utf-8', charset.SHORTEST, charset.QP, 'utf-8')
     charset.add_charset('utf8', charset.SHORTEST, charset.QP, 'utf8')