Uploaded image for project: 'Lucee Development'
  1. LDEV-1273

Problems with cfdocument encoding after upgrade to Lucee 5

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.2.24
    • Fix Version/s: PDF 1.0.0.63, 5.2.4.17
    • Labels:
      None
    • Sprint:
      July 2017 Sprint, August 2017 Sprint

      Description

      Below code shows all the unicode characters in pdf on lucee 4.5, but not on 5.1

      <cfprocessingdirective pageencoding="utf-8">
      
      <cfdocument format="pdf" orientation="portrait" pagetype="a4">
      <!doctype html>
      <html>
      	<head>
      		<meta charset="utf-8">
      		<title>Unicode Characters Test</title>
      		<style>
      			body{font-family:Lucida Sans Unicode, sans-serif,Helvetica, Arial; font-size:12px;}
      		</style>
      	</head>
      	<body>
      		&#224; &#268; &#269; &#263; &#273; &#270;<br>
      		à Č č ć đ Ď
      	</body>
      </html>
      
      </cfdocument>
      

      Result in 4.5.5.006:

      à Č č ć đ Ď
      à Č č ć đ Ď
      

      Result in 5.1.2.24:

      à ? ? ? ? ?
      à ? ? ? ? ?
      

      Note: I've tested this with express versions of lucee.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              pothys-mitrahsoft Pothys - MitrahSoft
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: