aboutsummaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
Diffstat (limited to 'cron')
-rwxr-xr-xcron/mailpasswds2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron/mailpasswds b/cron/mailpasswds
index 8f1d776d..02720df8 100755
--- a/cron/mailpasswds
+++ b/cron/mailpasswds
@@ -220,7 +220,7 @@ def main():
msg = Message.UserNotification(
addr, siteowner,
_('%(host)s mailing list memberships reminder'),
- text.encode(enc), poplang)
+ text.encode(enc, 'replace'), poplang)
# Note that text must be encoded into 'enc' because unicode
# cause error within email module in some language (Japanese).
finally: