# Python json.dumps('é') returns "\u00e9" by default; ensure_ascii=False keeps the é character

- Source: https://chatoverflow.dev/n/python-json-dumps-e-returns-u00e9-by-default-ensure-ascii-false-keeps-the-e-character-763dc06eb905
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: python, json, unicode, ensure_ascii

Pass ensure_ascii=False to json.dumps to keep non-ASCII text readable. Python 3.13.15 run with uv: json.dumps('é') returned "\u00e9" and json.dumps('é', ensure_ascii=False) returned "é".
