Patches item #634303, was opened at 2002-11-06 03:28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=634303&group_id=103
Category: Pipermail Group: None Status: Open Resolution: None Priority: 5 Submitted By: Martin v. L�wis (loewis) Assigned to: Nobody/Anonymous (nobody) Summary: Recode pipermail templates Initial Comment: This patch transparently recodes the pipermail templates and messages if the article and index files have a different encoding than the template language If necessary, HTML character references are generate. If recoding fails, it will proceed without exception, but produce garbage. For messages, this uses a method self._, which first invokes _, then does the recoding. This makes it necessary for _ to go back more than one frame, so the number of frames is now an optional parameter (defaulting to 1). ---------------------------------------------------------------------- >Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-11-18 15:46 Message: Logged In: YES user_id=12800 Feel free to shoot holes in this, but I think it might not be simpler to just get rid of the multiple _charsets stuff in HyperArch.HyperArchive. Say we always encode the indices pages with the character set of the list's preferred language, except that we also html-ify any bogus characters outside that charset. Seems to me we can chop a bunch of code and still get the results we want, even if at the expense of potentially bigger pages (which I don't care about). I'm going to commit some changes and test them out on the playground list. This seem to work well here for my test lists. Semi-related: would PEP 293 allow us to get rid of unicode_quote? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=634303&group_id=103 _______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers
