-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support UTF-16 and UTF-32 in Jackson HttpMessageConverters #26627
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Comments
poutsma
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
labels
Mar 2, 2021
poutsma
changed the title
Support UTF-16 in Jackson HttpMessageConverters
Support UTF-16 and UTF-32 in Jackson HttpMessageConverters
Mar 2, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
Closed
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
This commit makes sure that we let Jackson deal with all the encodings that it supports, including UTF-16 and UTF-32. Closes spring-projectsgh-26627
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Besides UTF-8, Jackson supports UTF-16 and UTF-32, but because neither are present in Jackson's
JsonEncoding
enum, we treat them like any other encoding, and convert them using anInputStreamReader
. This should be fixed.The text was updated successfully, but these errors were encountered: