CodePudding user response:
To ask, I also encountered the same problem with you, also mention the BUG, the project team not to reproduce, others computer no problem, do you have any solution, on baidu, I say it's request of coding issues, to switch to utf-8 String STR "XXXXXXX"; STR=new String (STR) getBytes (" GBK "), "utf-8"); But didn't succeed, still the same,CodePudding user response:
I have to resolve the reference https://blog.csdn.net/jv_csjh/article/details/78581826CodePudding user response:
Problem in your release container handling IO stream encodingCodePudding user response:
Brother can you solve it, I also encountered the same problem, tomcat also changed some configuration as online said, the idea of encoding also all is utf-8, but still just an error on my computer, others are notCodePudding user response:
Brother can you solve it, I also encountered the same problem, tomcat also changed some configuration as online said, the idea of encoding also all is utf-8, but still just an error on my computer, others are notCodePudding user response:
I also am this problem, don't know what the reason, the local is not an error, on the server will report errors,{
"Timestamp" : "the 2020-11-23 T09: thou didst. 356 + 0000",
"Status" : 400,
"Error" : "Bad Request,"
"Message" : "JSON parse error: Invalid utf-8 middle byte 0 x3f; Nested exception is com. Fasterxml. Jackson. Databind. JsonMappingException: Invalid utf-8 middle byte 0 x3f \ n at [Source: (PushbackInputStream); the line: 2, column: 13] (through the reference chain: com. Dingler. Entity. EntityDto. UserMessageDto [\ "rivername \]"), "
"Path" : "/inquery
"}