当前位置:首页 > Windows程序 > 正文

ArcGIS API中FindTask中文搜索无效,服务器编码问题URIEncoding=utf

2021-05-25 Windows程序

问题来源:字符编码问题导致ArcMap中字符乱码或显示不正常,因而在F:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf中server.xml把URIEncoding="utf-8"加上

<!-- A "Connector" represents an endpoint by which requests are received and responses are returned. Documentation at : Java HTTP Connector: /docs/config/http.html (blocking & non-blocking) Java AJP Connector: /docs/config/ajp.html APR (HTTP/AJP) Connector: /docs/apr.html Define a non-SSL HTTP/1.1 Connector on port 6080 --> <Connector connectionTimeout="20000" maxHttpHeaderSize="65535" maxPostSize="10485760" port="6080" protocol="HTTP/1.1" redirectPort="6443" server=" " URIEncoding="utf-8"/> <!-- A "Connector" using the shared thread pool-->

结果导致前台搜索输入中文解码异常,不能被ArcGIS Server识别,后来删掉URIEncoding="utf-8"立即正常了。

ArcGIS API中FindTask中文搜索无效,,服务器编码问题URIEncoding="utf-8"

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/70599.html