Home > Back-end > How to check the String coding of front-end coming?
How to check the String coding of front-end coming?
Time:10-18
Database storage is utf-8, and if the front of the String is not utf-8, should do inspection, prevent endures is the code in the database? The web container have this test? I am using Tomcat,
CodePudding user response:
Each frame can be through the filter or some configuration of the encoding method to solve the problem, suggestion directly baidu: [name] the framework character set