﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27895	Test Client fails to decode json response with unicode characters	Aniruddha Maru	Aniruddha Maru	"Since `application/json` response ought to be encoded with `utf-8` charset per spec [https://tools.ietf.org/html/rfc7159#page-11 RFC 7159], they should be decoded as such.

The problematic line is [https://github.com/django/django/blob/master/django/test/client.py#L682 here]:
{{{#!python
            response._json = json.loads(response.content.decode(), **extra)
}}}

Which ought to be changed to:

{{{#!python
            response._json = json.loads(response.content.decode('utf-8'), **extra)
}}}"	Bug	closed	Testing framework	1.10	Normal	wontfix		Claude Paroz Fabio Bonelli	Accepted	1	0	0	0	0	0
