Hi,
(B
(BTry this patch. It's a coincidence that I am working on it.
(B
(BIndex: checkdbs
(B===================================================================
(BRCS file: /cvsroot/mailman/mailman/cron/checkdbs,v
(Bretrieving revision 2.17
(Bdiff -u -r2.17 checkdbs
(B--- checkdbs 28 Oct 2002 03:43:42 -0000 2.17
(B+++ checkdbs 6 Feb 2003 10:21:27 -0000
(B@@ -92,6 +92,7 @@
(B
(B
(B
(B def pending_requests(mlist):
(B+ lcset = Utils.GetCharSet(mlist.preferred_language)
(B # Must return a byte string
(B pending = []
(B first = 1
(B@@ -101,6 +102,8 @@
(B first = 0
(B when, addr, fullname, passwd, digest, lang = mlist.GetRecord(id)
(B if fullname:
(B+ if _isunicode(fullname):
(B+ fullname = fullname.encode(lcset, 'replace')
(B fullname = ' (%s)' % fullname
(B pending.append(' %s%s %s' % (addr, fullname, time.ctime(when)))
(B first = 1
(B
(B=======
(B
(BDaniel Buchmann wrote:
(B> I was the puzzled receiver of these words this morning:
(B>
(B> Traceback (most recent call last):
(B> File "/home/mailman/cron/checkdbs", line 136, in ?
(B> main()
(B> File "/home/mailman/cron/checkdbs", line 80, in main
(B> text += '\n' + pending_requests(mlist)
(B> File "/home/mailman/cron/checkdbs", line 123, in pending_requests
(B> text = NL.join(pending)
(B> UnicodeError: ASCII decoding error: ordinal not in range(128)
(B>
(B>
(B> Anyone else seen this and know how to fix it?
(B> Couldn't find anything about this in the SF bug tracker...
(B>
(B> I'm using the Release_2_1-maint CVS branch.
(B>
(B>
(B> -Daniel
(B>
(B
(B--
(BTokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
(Bhttp://weather.is.kochi-u.ac.jp/
(B
(B
(B_______________________________________________
(BMailman-Developers mailing list
([EMAIL PROTECTED]
(Bhttp://mail.python.org/mailman/listinfo/mailman-developers