diff options
Diffstat (limited to 'Mailman/Logging/Logger.py')
-rw-r--r-- | Mailman/Logging/Logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Logging/Logger.py b/Mailman/Logging/Logger.py index 0cb7c6af..b583a351 100644 --- a/Mailman/Logging/Logger.py +++ b/Mailman/Logging/Logger.py @@ -85,7 +85,7 @@ class Logger: def write(self, msg): if isinstance(msg, StringType): - msg = unicode(msg, self.__encoding) + msg = unicode(msg, self.__encoding, 'replace') f = self.__get_f() try: f.write(msg) |