Modifying Character Sets in Deployment Initiation

  • Last update:  2023-03-29
  • 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.

    Attachment List


    Theme: デプロイ統合
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    9s后关闭

    反馈已提交

    网络繁忙