Preparing for PDF Format Reports in Double-Byte Character Set (DBCS) Languages

Reports in PDF format require that you install additional iText libraries to support the correct encoding of double-byte character set (DBCS) languages. Otherwise, the double-byte characters in generated PDF reports may be missing or illegible. HTML and XLS formats display correctly in Asian languages and do not require installing the libraries.

If you are viewing PDF reports that contain Chinese, Japanese, or Korean (double-byte) characters, and the characters are either blank or are missing information, perform the following steps:

  1. Add the following files from the iText library to the classpath of Sterling B2B Integrator:
    • iTextAsian.jar
    • iTextAsianCmaps.jar

    Download the listed files from:

    http://sourceforge.net/projects/itextpdf/files/Asian%20Support/Asian%20CMAPS/
  2. Add the downloaded jars from step 1 to the classpath of your application. Run the below commands, where install_dir is the install path and download_dir is the path where the files were downloaded in step 1.
    install_dir/bin/install3rdParty.sh jasperreports 1_2_0 -j download_dir/iTextAsian.jar
    install_dir/bin/install3rdParty.sh jasperreports 1_2_0 -j download_dir/iTextAsianCmaps.jar
  3. Direct your users to download and install the Adobe Reader Asian font pack from the Adobe website.
  4. In addition to installing the jar files for the Asian font pack, you need to direct your users to modify the report.properties file (install_dir/properties/report.properties), because only one DBCS language will work at a time.
Pragma Edge, IBM Gold Partner, IBM, Pragmaedge,

Sterling File Gateway Tutorial

Electronic Banking Internet Communication Standard (EBICS) is an Internet-based communication and security standard that is primarily used for remote data transfer between your organization

Read More »