Japanese characters in a PDF and image files created by the Process Document function are garbled.

book

Article ID: 19741

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Process Automation Base

Issue/Introduction

Description:

File Names of the downloaded Process Documentation zip and files inside the zip get garbled. Also most multi byte characters displayed in the files inside the downloaded zip file and are gabled.

Solution:

In order to fix the each problem of the garbled Japanese characters, please go through the following steps.

  1. Japanese characters in the PDF file.

    1. Download the solution from this document and unzip it. Read through the readme file "README Embed Japanese Characters MSGothic Font.mht".
    2. Copy msgothic.ttc, msgothic.xml, msgothic1.xml and msgothic2.xml files and modify fop.xconf and Process.xsl by following the steps on the README file.
  2. Japanese characters of Operator labels in the PNG files.

    1. Open Properties of an Operator that the label gets garbled in the PNG files.
    2. Open [Information] tab.
    3. Select a Japanese font, such as MS Gothic, under Font category.
    4. Save the change.
  3. File names of the files, for example, PDF and PNG files, in the Process Document zip file.

    In order to fix the garbled names of files inside the zip file, you need to install JDK 7 and update PAM to load it when the PAM service starts. You can have either way Approach 1 or 2 after JDK 7 is installed.

    [Approach 1]

    1. Stop the running PAM server.
    2. Re-install PAM and in JDK screen point to JDK installation directory.
    3. Start the PAM server.
    4. Check <PAM_INSTALL_LOCATION>/server/c2o/boot.log. You should see JDK 7 related logs.

      e.g.

      Java version: 1.7.0_40, Oracle Corporation

      03:10:15,359 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
    [Approach 2]

    NOTE: Please take a backup before you modify the c2osvcw.conf file.

    1. Open <PAM_INSTALL_LOCATION>/server/c2o/bin/c2osvcw.conf by editor.
    2. Look for wrapper.java.command= and replace the JDK 6 PATH with JDK 7 installation path.
    3. Look for wrapper.java.classpath.2= and replace the JDK 6 PATH with JDK 7 installation path.
    4. Re-start the PAM server.
    5. Check <PAM_INSTALL_LOCATION>/server/c2o/boot.log. You should see JDK 7 related logs

      e.g.

      Java version: 1.7.0_40, Oracle Corporation

      03:10:15,359 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_40-b43)

Please note that the Windows default unzip utility, WinZip, does not show Japanese characters properly. So in order to unzip the downloaded zip file, please use either:

  • WinRAR or
  • 7zip

Environment

Release: ITPASA99000-4.1-Process Automation-Add On License for-CA Server Automation
Component:

Attachments

1558534878370TEC601496.zip get_app