'A non-ASCII unicode data as a non-UTF based encoding can be POSTed'

def test_unicode_payload_non_utf(self):

    json = u'{"dog":    "\u0441\u043e\u0431\u0430\u043a\u0430"}'
    response = self.client.post('/test_client_regress/parse_unicode_json/', json, content_type='application/json;    charset=koi8-r')
    self.assertEqual(response.content, json.encode('koi8-r'))
