Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7495

Special characters are not encoded correctly when creating printable letters (PDF)

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.3.4
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      If you select some users with special characters like æ, å, ñ, ü or ø in their name and select "Create Printable Letters (PDF)", the name is printed like this "Ã...lice Ægdav".

      It can be fixed by changing line 145 in CRM/Utils/PDF/Utils.php from
      $dompdf->load_html( $html );
      to
      $dompdf->load_html( utf8_decode( $html ) );

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              resga resga
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: