Home > Back-end >  For bosses to look at a garbage problem
For bosses to look at a garbage problem

Time:11-22

Springboot, utf-8 database code, to print to return to the log normal, browser is data only one Chinese display garbled, other normal, after repeatedly refresh and replaced by other characters garbled, garbled characters is normal again, before the first local and test environment not seen this problem, is the rare and beautiful flower appears after the project set up to deploy problem, consult everybody who is what reason is caused?

Before the code is "class ii medical devices" of the "class", now again in this way, can the following the same word are normal,

CodePudding user response:

What are you deployed in the environment?

System level, bad disk, memory is not stable, cable error rates are likely to lead to high

CodePudding user response:

Have found the reason, Chinese characters is 2-3 bytes, gateway wateway segmenting the data returned is too long will be truncated processing, truncated place will be garbled words,

CodePudding user response:

refer to the second floor son not fish uu reply:
have found reasons, Chinese characters is 2-3 bytes, gateway wateway segmenting the data returned is too long will be truncated processing, truncated place will appear garbled,



Come on, more careful
  • Related