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 vinay.sajip
Recipients SilentGhost, jonathan-lp, paul.moore, steve.dower, tim.golden, vinay.sajip, zach.ware
Date 2019-06-01.09:50:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559382659.9.0.491826378077.issue37111@roundup.psfhosted.org>
In-reply-to
Content
> This seems like an attempt at victim blaming.

Er, no, it was a straight question about whether you'd read the documentation.

> I'm afraid this line of reasoning is suffering from selection bias, cherry picking, confirmation bias, and probably some others too.

Er, no, it was stating that lots of people have successfully used logging on Windows with utf-8, as a way of justifying my opinion that there's no deficiency here that needs addressing.

> Sure "stream" is on there, but then you need to know about streams and make the association with logging which I apparently don't. You have to remember not everyone has your level of proficiency in the language. In fact, most Python users don't.

Sure, and that's fine. Experienced developers learn stuff every day too. But responding to issues takes time (notice how many people will have been notified about this issue from the "nosy list" above; each would have to spend at least some time looking at it), so raising issues should be done only after exhausting other resources to make sure that the problem isn't in one's own level of knowledge or understanding, but an actual problem with the software. This is why I earlier suggested Stack Overflow and python-list as useful resources for improving one's knowledge and understanding.

> Lets put this another way - is there a reason NOT to have Unicode logging as the default?

I have no idea what you mean by this. As my example illustrated, it's quite easy to log Unicode in log files.

A simple Internet search for "basicConfig encoding" yields for me as the second result this Stack Overflow question

https://stackoverflow.com/questions/21402530

for which the accepted answer is a slight variation on what I suggested earlier.
History
Date User Action Args
2019-06-01 09:50:59vinay.sajipsetrecipients: + vinay.sajip, paul.moore, tim.golden, SilentGhost, zach.ware, steve.dower, jonathan-lp
2019-06-01 09:50:59vinay.sajipsetmessageid: <1559382659.9.0.491826378077.issue37111@roundup.psfhosted.org>
2019-06-01 09:50:59vinay.sajiplinkissue37111 messages
2019-06-01 09:50:59vinay.sajipcreate