Pragma Edge — Powering your connected enterpriseLet's connect ↗
PRAGMA EDGE / BLOG

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

PDF format requires that you install additional iText libraries to support the correct encoding of 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 ofSterling 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, whereinstall_diris the install path and download_diris 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.
TURN IDEAS INTO ACTION

Make the next step specific.

Bring your operating context, priorities and questions. We’ll help identify the relevant next step.

Start a conversation ↗
Services and Accelerators →Technologies We Support →More perspectives →
PRAGMA EDGE / LET’S CONNECT

Start a conversation.

Tell us what you’re working on. We’ll help shape the next step.

Your inquiry goes directly to the Pragma Edge sales team.

Or email sales directly