I was expecting that "application/json" and "application/json;charset=UTF-8" will behave same way considering that default encoding for jackson is UTF-8 but to my surprise it does not.
{"name":"test-生"}
Posting above data to simple spring-boot app with content-type="application/json" results in garbled data. What did I misunderstood?
I also came across several SO questions around this which seems to suggest my expectation was correct but doesn't seem to work.
I am on Spring-Boot = 1.3.5.Release
What does "Content-type: application/json; charset=utf-8" really mean?
Why content type header to use for json? "application/json; charset=utf-8 " or "application/json"?