Skip to content

Commit

Permalink
[#846] Fix json unicode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 30, 2013
1 parent 8d4cbb9 commit bddb3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/api.py
Expand Up @@ -82,7 +82,7 @@ def _finish(self, status_int, response_data=None,
if response_data is not None:
response.headers['Content-Type'] = CONTENT_TYPES[content_type]
if content_type == 'json':
response_msg = h.json.dumps(response_data)
response_msg = h.json.dumps(response_data, ensure_ascii=False)
else:
response_msg = response_data
# Support "JSONP" callback.
Expand Down

0 comments on commit bddb3ef

Please sign in to comment.