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 serhiy.storchaka
Recipients berker.peksag, legnaleurc, r.david.murray, rhettinger, serhiy.storchaka
Date 2016-08-30.11:36:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The last change just sweeps a problem under a rug.

For now json.tool never fails with valid data. But with the --no-ensure-ascii option it can fail when output a string not encodable with the locale encoding. All can work with common cases on common UTF-8 environment, but unexpectedly fail on nonstandard environment. It would be better to output encodable characters as is and represent unencodable characters with \uXXXX encoding.
Date User Action Args
2016-08-30 11:36:21serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, r.david.murray, berker.peksag, legnaleurc
2016-08-30 11:36:21serhiy.storchakasetmessageid: <>
2016-08-30 11:36:21serhiy.storchakalinkissue27413 messages
2016-08-30 11:36:20serhiy.storchakacreate