bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)

(cherry picked from commit 808769f3a4cbdc47cf1a5708dd61b1787bb192d4)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
3 files changed