Skip to content

UTF-8 as default for "MULTIPART_FORM_DATA" conversion - #1072

Closed
RG9 wants to merge 1 commit into
spring-projects:masterfrom
RG9:master
Closed

RG9 wants to merge 1 commit into
spring-projects:masterfrom
RG9:master

Conversation

@RG9

@RG9 RG9 commented Jun 3, 2016

Copy link
Copy Markdown

FormHttpMessageConverter should use UTF-8 on default for converting "MULTIPART_FORM_DATA" to handle Eastern Europe characters. It could be overriden, however in default causes unnecessary bug.

@bclozel

bclozel commented Jun 3, 2016

Copy link
Copy Markdown
Member

Could you open an issue on jira.spring.io and explain in more details why this should be done? Encoding matters are often complex, so we need to make sure the default should be changed there instead of keeping the Servlet specification default encoding.

Note, this seems to be somewhat related to SPR-7789, SPR-9096, and SPR-11035.

Also, have you signed the CLA?

@RG9

RG9 commented Jun 7, 2016 •

Copy link
Copy Markdown
Author

Thank you for help.

Here is an issue SPR-14338.

@benelog

benelog commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

It is fixed by cc7781e

@RG9

RG9 commented Jun 8, 2016

Copy link
Copy Markdown
Author

Yes, thank you, now I can only write some unit tests :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants