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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum, loewis, r37c
Date 2008-01-07.21:27:37
SpamBayes Score 0.06723374
Marked as misclassified No
Message-id <1199741261.88.0.615181544603.issue1754@psf.upfronthosting.co.za>
In-reply-to
Content
> Forcing English messages would certainly reduce the problems
And it does not even work: my French Windows XP does not contain the
English error messages :-(

> If we declare that all strings are considered as CP_ACP in the
> exception, then the only way to fix it would be to convert it from
> CP_ACP to CP_OEMCP (or, more generally, sys.stderr.encoding) on
> printing. Such conversion should be implemented in an unfailing way,
> either using replacement characters or falling back to no conversion.

If this is chosen, I propose to use CharToOem as the "unfailing"
conversion function. I will try to come with a patch following this idea.
History
Date User Action Args
2008-01-07 21:27:42amaury.forgeotdarcsetspambayes_score: 0.0672337 -> 0.06723374
recipients: + amaury.forgeotdarc, gvanrossum, loewis, christian.heimes, r37c
2008-01-07 21:27:41amaury.forgeotdarcsetspambayes_score: 0.0672337 -> 0.0672337
messageid: <1199741261.88.0.615181544603.issue1754@psf.upfronthosting.co.za>
2008-01-07 21:27:37amaury.forgeotdarclinkissue1754 messages
2008-01-07 21:27:37amaury.forgeotdarccreate