[issue7077] SysLogHandler can't handle Unicode

2010-09-02 Thread Remi Broemeling
Remi Broemeling added the comment: Attaching UTFFixedSysLogHandler, which is a sub-class of logging.handlers.SysLogHandler. The sub-class re-implements the emit() code to put the BOM in the right place (a re-implementation of r84218 and r84222). Can be used with existing Python codebases

[issue7077] SysLogHandler can't handle Unicode

2010-09-02 Thread Remi Broemeling
Remi Broemeling added the comment: I was encountering the logging.handlers.SysLogHandler bug described by Georg Brandl yesterday/today -- it took quite a while to track down the issue as I assumed it would be in either my code or possibly the framework code (Django). I didn't take