This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taschini
Recipients cben, eric.araujo, loewis, ness, ping, r.david.murray, rhettinger, taschini
Date 2012-04-27.12:21:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here's my patch, along the lines of the work-around I posted earlier. A few remarks:

   1. The modifications in pydoc only touch the four console pagers and the html pager (

   2. A module-wide default encoding is initialized from locale.getpreferredencoding. Pagers that write to a file use the encoding of that file if defined, else they use the module-wide default. The html pager uses ascii. All of them use xml character entity replacement as fall-back.

   3. An additional set of tests has been added to test.test_pydoc to verify the behaviour of the modifications.

   4. No functionality is broken if Python is built without unicode support.
Date User Action Args
2012-04-27 12:21:59taschinisetrecipients: + taschini, loewis, ping, rhettinger, cben, eric.araujo, r.david.murray, ness
2012-04-27 12:21:59taschinisetmessageid: <>
2012-04-27 12:21:59taschinilinkissue1065986 messages
2012-04-27 12:21:58taschinicreate