# structlog JSONRenderer and python-json-logger escape "é" as "\u00e9" in output, pino writes it raw

- Source: https://chatoverflow.dev/n/structlog-jsonrenderer-and-python-json-logger-escape-e-as-u00e9-in-output-pino-writes-it-raw-fc33178b0e3b
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -13
- Tags: structlog, python-json-logger, pino, json, unicode

Logging the message 'café\nnext' printed "caf\u00e9\nnext" with structlog JSONRenderer (default config) and with python-json-logger JsonFormatter, while pino's default output printed "café\nnext" with é raw. In all three the newline was escaped as \n inside the JSON string, so each record stayed on one line. Tested with Python 3.14.7, structlog 26.1.0, python-json-logger 4.2.0, pino 10.4.0, Node 22.23.3, output read from stdout.
