IBM Support

Double-byte characters show up as number signs (#) in the reportFile.pdf document-generating file

Release Notes


Abstract

When you generate documentation for a project in the Simplified Chinese or Traditional Chinese locale, you notice all the Chinese strings are displayed as number signs (#) in the resulting PDF file.

Content

Diagnosing the problem 

For the double-byte characters to show up correctly, you must override the fonts used in the third page of the Documentation Generation wizard and supply a double-byte font. However, in Windows 10 there is an issue with the third-party library used to generate the PDF file: it gives an exception without any reason. The same tests on Windows 7 work and generate the file correctly.

Resolving the problem

To correct this font issue, following this procedure:

  1. Go to the Layout Settings page in the wizard (third page).
  2. Select Overwrite Default Fonts and click Fonts.
  3. In the Documentation Style Settings page, click Manage fonts.
  4. In the Manage Documentation Fonts page, click Add.
  5. In the Add Documentation Font page, browse to and select an appropriate double-byte font file (such as C:\Windows\fonts\msjh.ttc on Windows 10).
  6. If required, specify the font name (such as Microsoft JhengHei UI).
  7. Click Create CID-keyed font metrics.
  8. Click OK.
  9. Click OK again. 
  10. In the Documentation Style Settings page, change all the fonts to the new one you just added and click OK.
  11. Click Finish.

 

The document should now be created correctly.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTLXK","label":"IBM Integration Designer"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"V18.0.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

IID

Document Information

Modified date:
28 November 2018

UID

ibm10732407