Description
When you install FineBI on a Linux/Unix system and deploy it to a Tomcat server, if you don’t modify the character set of the environment to utf-8, garbled messages will occur.
To solve problems such as garbled output and garbled characters when exporting Excel, the following part introduces how to modify the character set by taking the commonly used servers as examples.
Note: If you use the FineBI built-in installation package to install, there is no need to modify the character set.
Modifying the Character Set in Tomcat
When deploying FineBI to a Tomcat server, you need to find the file server.xml under the installation path of Tomcat ../conf. Then modify the connector tag that configures the Tomcat port, and add attribute URIEncoding: URIEncoding="utf-8".
The code is as follows:
<Connector port="8090" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" URIEncoding="utf-8"/>
Modifying the Character Set in WebLogic
When deploying FineBI to a Weblogic server, you need to find the file startWebLogic.sh in the Weblogic installation directory ../domains/{your project name}/, and add -Dfile.encoding=utf-8 to it.
Modifying the Character Set in WebSphere
When deploying FineBI to a Websphere server, you need to find the configuration file server.xml under the Websphere installation directory and modify it.
<span class="ed_gongshi">genericJvmArguments="-Dfile.encoding=utf-8
-Ddefault.client.encoding=utf-8"</span>
Note: The places where character set modifications are made can all be configured in the memory modification places.
For details, see Modifying Memory in Deployment Initiation.