As long as the transfer of data into the database is garbled! The problem

solve:

 

 Is added a characterEncoding = UTF-8 in the configuration database

 

But to solve this problem took a long time, thought it was a jsp garbled, you set up a filter to all files are set to utf-8 encoding. Useless!

 

 Then I thought it was a tomcat server side of the issue, so set the encoding format,

 

Then he set up in full accordance with this tutorial again, https://blog.csdn.net/liu865033503/article/details/81094575, to solve the garbage problem on my original console, but the database is still garbled.

Then only the data that is passed into the issue of hash database, online tutorials found the only solution.

Although hard, but a sense of achievement, to continue refueling.

 

Guess you like

Origin www.cnblogs.com/hyjh/p/11756495.html