Skip to content

use marshal_with Chinese garbled code #635

@loflv

Description

@loflv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions