When Mailman.Utils.maketext() does string substitution in a template
containing multi-byte characters (such as in templates/ja/), how does
it avoid errors during dictionary interpolation?

TMDA is using a nearly identical function to make text from templates,
but certain multi-byte characters (Japanese in particular) in the
templates trigger the following exceptions:

          ValueError: incomplete format key

          TypeError: not enough arguments for format string

Someone suggested that the Japanese text probably has characters in it
that include an ascii % as part of the multi-byte character.

I'm wondering how Mailman gets around this problem.

-- 
(http://tmda.net/)



_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman-21/listinfo/mailman-developers

Reply via email to