首先,大神指路:http://bbs.csdn.net/topics/391065011?page=1

相关的一些命令:

查看当前系统字符编码:env

          locale

查看系统支持的字符编码:locale -a

centos7下,需要修改的地方:/etc/profile

  在最后面加上:

  export LC_ALL="zh_CN.gbk"
  export LANG="zh_CN.gbk"

/etc/locale.conf

  加上:

  LANG="zh_CN.gbk"

  然后就ok了,最后就是在TOMCAT_HOME/conf/server.xml中的Connector标签中添加

  useBodyEncodingForURI="true"

  传送门:http://blog.csdn.net/u010235716/article/details/50427272

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-08-10
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2021-11-20
  • 2021-12-12
  • 2021-11-18
  • 2021-11-20
相关资源
相似解决方案