Non-alphanumeric characters are not displayed properly when converting form to PDF

  • 16 February 2021
  • 0 replies
  • 7 views

Userlevel 5
Badge +20


 




Non-alphanumeric characters are not displayed properly when converting form to PDF















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.



LEGACY/ARCHIVED CONTENT

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


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.






0 replies

Be the first to reply!

Reply