Flask can not render umlauts Flask can not render umlauts flask flask

Flask can not render umlauts


I know this is an old question but take a look at the configuration values for Flask. In particular, setting JSON_AS_ASCII to False should let you use jsonify just the way you want it.


Instead of jsonify, use json.dumps as follows.

@app.route('/')def main():    return json.dumps(d,ensure_ascii=False)

The ensure_ascii parameter takes care of whether you want to display ascii or not.