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.

    附件列表


    主题: Deployment and Integration
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy