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 Ivan.Pozdeev, bob.ippolito, ezio.melotti, nhatcher, serhiy.storchaka, vstinner
Date 2018-04-19.05:47:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524116855.14.0.682650639539.issue33255@psf.upfronthosting.co.za>
In-reply-to
Content
In simplejson:

>>> simplejson.dumps({u"greeting": "hi", "currency": "€"}, ensure_ascii=False, encoding="utf8")
u'{"currency": "\u20ac", "greeting": "hi"}'
>>> simplejson.dumps({u"greeting": "hi", "currency": "€"}, ensure_ascii=False)
u'{"currency": "\u20ac", "greeting": "hi"}'

I think it makes sense to fix the case for "utf-8".
History
Date User Action Args
2018-04-19 05:47:35serhiy.storchakasetrecipients: + serhiy.storchaka, bob.ippolito, vstinner, ezio.melotti, Ivan.Pozdeev, nhatcher
2018-04-19 05:47:35serhiy.storchakasetmessageid: <1524116855.14.0.682650639539.issue33255@psf.upfronthosting.co.za>
2018-04-19 05:47:35serhiy.storchakalinkissue33255 messages
2018-04-19 05:47:34serhiy.storchakacreate