aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortkikuchi <>2004-12-04 01:33:47 +0000
committertkikuchi <>2004-12-04 01:33:47 +0000
commit53a96219e3a7055f4a7e66883ebfe764077e4686 (patch)
treee832c188e54346d768f49ec2f94e83e2c7c432e8
parentea3f4bb22c345eba4d0820c3b27d12f94a3f9c95 (diff)
downloadmailman2-53a96219e3a7055f4a7e66883ebfe764077e4686.tar.gz
mailman2-53a96219e3a7055f4a7e66883ebfe764077e4686.tar.xz
mailman2-53a96219e3a7055f4a7e66883ebfe764077e4686.zip
'replace' here again for alian charset password (should we restrict password
within ascii charcters?)
-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: