[Mailman-i18n] encoding problem in cron/mailpasswds
Tokio Kikuchi
tkikuchi at is.kochi-u.ac.jp
Sat Dec 4 02:48:07 CET 2004
Bartosz Sawicki wrote:
> Hi there,
>
> Before new Mailman subversion will be released I'd like to clarify one
> think inside cron/mailpasswds script. Which in my opinion is buggy for
> all non unicode translations.
> Polish translation works perfect accept one think - monthy remainder is
> sended with wrong encoding. Do other of you notice this problem?
Yes, there was a bug report in SF and I believe I fixed it. See
http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/cron/mailpasswds
> What for we "Coerce everything to Unicode"?
>
> If I comment out this two lines in cron/mailpasswds, encoding problem
> disappers - polish reminders are emailed with proper iso-8859 & QP.
> So if there is not certain reason to "coerce everything", I propose to
> delete this two lines.
There may be chance that a user input his password in a different
language so passwords should be once transformed unicode. Last code in
2.1.5 failed to reverse encode into list language. May be we should
restrict passwords within ascii 7bit characters. ([\x21-\x7f])
Thanks anyway for your comment. I have just fixed a last (hopefully)
small bug to 'replace' alien charcters. Hope you can check out the
latest CVS and try if the bug went away.
Cheers,
--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
More information about the Mailman-i18n
mailing list