Message 118542 - Python tracker
On Wed, Oct 13, 2010 at 12:20 PM, Walter Dörwald <report@bugs.python.org> wrote: .. > Does the following patch fix your problems? > Probably not because with your patch print() will encode HTML stream with the system default encoding which may be different from that specified by -e/--encode argument to calendar. The result would be an ill-formed XML stream with encoding specified by the meta-tag not matching the actual encoding.