Skip to main content
christophegirodon
Participant
November 23, 2016
Question

<cfhtmltopdf> and special caracter with CF2016

  • November 23, 2016
  • 1 reply
  • 339 views

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

This topic has been closed for replies.

1 reply

Priyank Shrivastava.
Inspiring
November 23, 2016

Hi,

I tried that and getting this result.

Without <cfhtmltopdf>: Display block character : █ When using , the Block character is replaced by another character (seems to be the broken bar character ¦):

With <cfhtmltopdf>:

You can log a bug, we can take a look. Please visit the link: http://bugbase.adobe.com 

Thanks,

Priyank

Thanks, Priyank Shrivastava
christophegirodon
Participant
November 23, 2016

I did log that bug. Thanks for your answer