homepage

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 ezio.melotti
Recipients Michael.Kuss, ezio.melotti, r.david.murray, vstinner
Date 2014年10月31日.18:29:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414780147.4.0.762604535817.issue22701@psf.upfronthosting.co.za>
In-reply-to
Content
The example works for me with both python 2 and 3. I'm going to close this in a while if OP doesn't reply.
$ python2 -c "import json; json.dump({'name': '港区'}, open('py2.json', 'w'), indent=4, separators=(',', ': '), ensure_ascii=False)" && cat py2.json
{
 "name": "港区"
}
$ python3 -c "import json; json.dump({'name': '港区'}, open('py3.json', 'w'), indent=4, separators=(',', ': '), ensure_ascii=False)" && cat py3.json
{
 "name": "港区"
}
History
Date User Action Args
2014年10月31日 18:29:07ezio.melottisetrecipients: + ezio.melotti, vstinner, r.david.murray, Michael.Kuss
2014年10月31日 18:29:07ezio.melottisetmessageid: <1414780147.4.0.762604535817.issue22701@psf.upfronthosting.co.za>
2014年10月31日 18:29:07ezio.melottilinkissue22701 messages
2014年10月31日 18:29:07ezio.melotticreate

AltStyle によって変換されたページ (->オリジナル) /