salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.27k stars 2.03k forks source link

PDF Template footer/header encoding issue in TCPDF #10401

Closed mattlorimer closed 1 month ago

mattlorimer commented 2 months ago

Issue

When using non standard characters e.g “č”, in the PDF header or footer section it will show as character “?”

Expected Behavior

The character should show as expected, the same as the main part of the padf

Actual Behavior

“č” prints as “?” in the pdf

Steps to Reproduce

  1. Ensure you PDF engine is set to "TCPDF" in the admin PDF settings
  2. Create a PDF template with “č” in the header or footer, and set a relevant module e.g Quotes
  3. Got to you chosen module e.g Quotes and print a PDF using you newly create template
  4. See that the header and/or footer and section prints “?” instead of “č”

Your Environment