Message315478
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". |
|
Date |
User |
Action |
Args |
2018-04-19 05:47:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, bob.ippolito, vstinner, ezio.melotti, Ivan.Pozdeev, nhatcher |
2018-04-19 05:47:35 | serhiy.storchaka | set | messageid: <1524116855.14.0.682650639539.issue33255@psf.upfronthosting.co.za> |
2018-04-19 05:47:35 | serhiy.storchaka | link | issue33255 messages |
2018-04-19 05:47:34 | serhiy.storchaka | create | |
|