Wei-Cheng Pan added the comment: 1. Replaced non-ASCII literals to \uXXXX 2. Removed failed assertion
Test passed with LC_ALL=en_US and LC_ALL=en_US.UTF-8 . I've tried to use locale.getdefaultlocale(), but seems the output string will vary in different locales. ---------- Added file: https://bugs.python.org/file44246/json-add-an-option-to-bypass-non-ascii-characters-v4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com