Petri Lehtinen added the comment: It may also be unicode if the encoding parameter is used even if there are no unicode objects in the input.
>>> json.dumps([u'Ş'.encode('iso-8859-9')], encoding='iso-8859-9', >>> ensure_ascii=False) u'["\u015e"]' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com