Skip to content

Commit

Permalink
add ensure_ascii=False
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-tang-pusher committed Jan 27, 2023
1 parent 1209b3e commit 9a66eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pusher/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def data_to_string(data, json_encoder):
return ensure_text(data, "data")

else:
return json.dumps(data, cls=json_encoder)
return json.dumps(data, cls=json_encoder, ensure_ascii=False)


def doc_string(doc):
Expand Down

0 comments on commit 9a66eb4

Please sign in to comment.