
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-05-29 14:29 byzhou.ronghua, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 7203 | closed | python-dev,2018-05-29 14:31 | |
| PR 7286 | closed | python-dev,2018-05-31 14:45 | |
| PR 17460 | merged | methane,2019-12-04 06:39 | |
| PR 17464 | merged | miss-islington,2019-12-04 09:39 | |
| PR 17465 | merged | methane,2019-12-04 10:05 | |
| Messages (4) | |||
|---|---|---|---|
| msg318039 -(view) | Author: zhou.ronghua (zhou.ronghua)* | Date: 2018-05-29 14:29 | |
when type this command in windows(xp or win7, all the same):python -m json.tool xxx.txt xxx.jsonif xxx.txt contains Chinese(or other multibytes characters):if xxx.txt is encoded in ansi, xxx.json will encode Chinese as \xxx, very bad to see what they are;if xxx.txt is encoded in utf8(without bom for most of the time), because with no bom, json.tool will think it is encoded in ansi, and decode fail.as now, utf8 is widely use, set default to utf8 for most of the time when auto detect encoding failed | |||
| msg357786 -(view) | Author: Inada Naoki (methane)*![]() | Date: 2019-12-04 09:39 | |
New changeset808769f3a4cbdc47cf1a5708dd61b1787bb192d4 by Inada Naoki in branch 'master':bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)https://github.com/python/cpython/commit/808769f3a4cbdc47cf1a5708dd61b1787bb192d4 | |||
| msg357789 -(view) | Author: miss-islington (miss-islington) | Date: 2019-12-04 09:57 | |
New changeseta75cad440ab50d823af5f06e51dfed3a319f1e8c by Miss Islington (bot) in branch '3.8':bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)https://github.com/python/cpython/commit/a75cad440ab50d823af5f06e51dfed3a319f1e8c | |||
| msg357791 -(view) | Author: Inada Naoki (methane)*![]() | Date: 2019-12-04 10:26 | |
New changesete0f148e6635480521036415bd782c3424fe6c619 by Inada Naoki in branch '3.7':bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)https://github.com/python/cpython/commit/e0f148e6635480521036415bd782c3424fe6c619 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:01 | admin | set | github: 77865 |
| 2019-12-04 10:27:17 | methane | set | components: + Library (Lib), - Unicode |
| 2019-12-04 10:27:07 | methane | set | status: open -> closed stage: patch review -> resolved resolution: fixed versions: + Python 3.7, Python 3.9 |
| 2019-12-04 10:26:29 | methane | set | messages: +msg357791 |
| 2019-12-04 10:05:53 | methane | set | pull_requests: +pull_request16944 |
| 2019-12-04 09:57:59 | miss-islington | set | nosy: +miss-islington messages: +msg357789 |
| 2019-12-04 09:39:52 | miss-islington | set | pull_requests: +pull_request16943 |
| 2019-12-04 09:39:37 | methane | set | nosy: +methane messages: +msg357786 |
| 2019-12-04 06:39:59 | methane | set | pull_requests: +pull_request16941 |
| 2018-05-31 14:45:43 | python-dev | set | pull_requests: +pull_request6912 |
| 2018-05-29 14:44:15 | zhou.ronghua | set | nosy: +ezio.melotti,vstinner type: behavior components: + Unicode versions: + Python 3.8 |
| 2018-05-29 14:31:13 | python-dev | set | keywords: +patch stage: patch review pull_requests: +pull_request6838 |
| 2018-05-29 14:29:39 | zhou.ronghua | create | |