From 53a96219e3a7055f4a7e66883ebfe764077e4686 Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Sat, 4 Dec 2004 01:33:47 +0000 Subject: 'replace' here again for alian charset password (should we restrict password within ascii charcters?) --- cron/mailpasswds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron') 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: -- cgit v1.2.3