[Mailman-i18n] "Funny" characters in real names?
Tokio Kikuchi
tkikuchi@is.kochi-u.ac.jp
Sat, 05 Oct 2002 09:47:50 +0900
Barry A. Warsaw wrote:
> [CC'ing Fran=E7ois as the recode guru -BAW]
>=20
> I think I finally, mostly, understand this issue and have fixes in
> place for it. To test it I added three users to a list, one with a
> pure ascii name, one with an iso-8859-1 name and one with Tokio
> Kikuchi's name. :) I can now see the names both in the admin page, the
> options page, and properly encoded in email. Everything's checked in
> so I'd love to get some feedback.
>=20
Looks fine except when I confirm subscription from Cgi.
Here is the patch:
--- confirm.py Thu Sep 19 15:43:01 2002
+++ /home/mailman3/Mailman/Cgi/confirm.py Sat Oct 5 09:15:35 2002
@@ -313,7 +313,7 @@
userdesc =3D Pending.confirm(cookie, expunge=3D0)[1]
fullname =3D cgidata.getvalue('realname', None)
if fullname is not None:
- fullname =3D Utils.canonstr(fullname)
+ fullname =3D Utils.canonstr(fullname, lang)
overrides =3D UserDesc(fullname=3Dfullname, digest=3Ddigest=
, lang=3Dlang)
userdesc +=3D overrides
op, addr, pw, digest, lang =3D mlist.ProcessConfirmation(
--=20
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/