Use mysql Chinese problem

xiaoxiao2021-03-06  36

(Quote Rabbit's Articles http://rabbit8.blogchina.com/blog/Article_144619.975870.html)

Tomcat4.1

MySQLMYSQL-3.23.36

1. Modify the My.ini file to set the character encoding of the client and server-side to GBK. (I forgot how to set this file, I can find it online).

2. Modify the appfuse's taglibs.jsp file, change UTF-8 to GBK,

3. Change the UTF-8 of the JDBC driver connection string portion in the configuration file to GBK,

4. Change the encoding of the Spring in the configuration file to GBK.

转载请注明原文地址:https://www.9cbs.com/read-52079.html

New Post(0)