html无法显示中文名图片,改为英文就可以显示,解决方案

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Stephen__Xu/article/details/78260874

也是网上搜到别人转载的方法,于是转到自己的博客、
找到tomcat——>conf——>server.xml文件, 在server.xml中类似如下配置:

< Connector port="8080"  
  ……
  URIEncoding="UTF-8" / >

其中 URIEncoding=”UTF-8” 这项,其含义是指定URI的编码为:UTF-8。
在后面加上这一项后问题就可以解决了。

猜你喜欢

转载自blog.csdn.net/Stephen__Xu/article/details/78260874