Skip to content

Inconsistent character handling between MockMvc created from a context or standalone #32997

@lukas-krecan

Description

@lukas-krecan

Affects: 6.2.0-SNAPSHOT

I was playing with the new MockMvcTest reusing some of my existing JsonUnit tests. When executing the test through mockMvc JSON content is serialized using UTF-8, when using MockMvcTest non-latin characters are garbled.

Maybe I missed some configuration, but I would expect the default behavior to be the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: testIssues in the test modulestatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions