AbstractJackson2Decoder is not aware of jackson's non-blocking parser only supporting UTF-8 #24489
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
It appears that
AbstractJackson2Decoder
assumes that the non-blocking parser used withJackson2Tokenizer
auto-detects input's encoding. This appears to not be the case as the parser only works forUTF-8
andASCII
(see FasterXML/jackson-core#596). This causes it to fail with any non-UTF-8
compatible charset. For example, this code throws aDecodingException
:The text was updated successfully, but these errors were encountered: