2 Replies Latest reply on Nov 23, 2016 7:18 AM by christophegirodon

    <cfhtmltopdf> and special caracter with CF2016

    christophegirodon

      Hi,

      Something strange concerning <cfhtmltopdf>.

       

      The following html code is diplayed correctly in a cfm file:

      <!DOCTYPE html>

      <html lang="en">

      <head>

          <meta charset="utf-8">

      </head>

      <body>

      Display block caracter : &#9608;

      </body>

       

      When using <cfhtmltopdf>, the Block caracter is replaced by another caracter (seems to be the broken bar caracter &brvbar;):

       

      <cfprocessingdirective pageencoding = "utf-8">

      <cfhtmltopdf unit="cm" margintop="1" marginbottom="1" marginleft="1" marginright="1" orientation="portrait" pagetype="a4">

      <!DOCTYPE html>

      <html lang="en">

      <head>

          <meta charset="utf-8">

      </head>

      <body>

      Display block caracter : &#9608;

      </body>

      </cfhtmltopdf>

       

      I did try on my local Windows 10 computer and on a Windows Server 2012 R2, and the result is the same.

       

      Could anyone help me with this ?

       

      Regards

       

      Configuration CF2016 Update 3 on Windows computer