This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

Non-English characters such as Chinese characters, are not displayed properly when converting a form to PDF. Alphanumeric characters, such as English alphabets and numbers are displayed correctly.

Image

Symptoms

  • Users are able to see the characters when opening the form containing the non-alphanumeric characters.
  • Characters are shown correctly when opening the form on the web server and K2 server.
  • A PDF produced using PDF Converter has the same issue.
  • After setting useWebKit=false in the PDF Converter service instance, the converted PDF is able to display the characters correctly.

    Image

  • K2 server's Current language for non-Unicode programs is not set to English.

    Image

Resolution

You can either:

  1. Set useWebKit=false in the PDF Converter service instance.
    You may encounter some other issues if you change this, so you will need to check if there are any issues with your PDF after converting your forms into PDF.
  2. Change K2 server's Current language for non-Unicode programs to English. After making this change, you will need to restart the server for the changes to take effect.