flask-restx icon indicating copy to clipboard operation
flask-restx copied to clipboard

use marshal_with Chinese garbled code

Open loflv opened this issue 8 months ago • 0 comments

When I use marshal_with, if there is Chinese, it will be garbled. I have set up

app.json.ensure_ascii = False app.config["JSON_AS_ASCII"] = False

And when I don't use marshal_with, there will be no garbled code. I want to know how to set marshal_with so that there is no garbled code

loflv avatar Apr 07 '25 03:04 loflv