Open mpr1255 opened 7 months ago
I was getting escaped Chinese character sequences (e.g. \u4f60\u597d instead of 你好).
Adding ensure_ascii=False to the json dump to fix this.
ensure_ascii=False
Tested & confirmed. I just edited the
/opt/homebrew/lib/python3.11/site-packages/datasette_pretty_json/__init__.py file.
/opt/homebrew/lib/python3.11/site-packages/datasette_pretty_json/__init__.py
Very simple change. Easy to upstream. Thank you!
I was getting escaped Chinese character sequences (e.g. \u4f60\u597d instead of 你好).
Adding
ensure_ascii=False
to the json dump to fix this.Tested & confirmed. I just edited the
/opt/homebrew/lib/python3.11/site-packages/datasette_pretty_json/__init__.py
file.Very simple change. Easy to upstream. Thank you!