Skip to main content
Chen_at_First_Industrial
Participant
April 15, 2016
Answered

Problem with cfhtmltopdf and special characters

  • April 15, 2016
  • 1 reply
  • 835 views

How can I fix cfhtmltopdf showing "?" for special characters "1/2", "3/4", "•"? We have ColdFusion Server Standard 11,0,07,296330 installed.

This topic has been closed for replies.
Correct answer Chen_at_First_Industrial

After further research and discussed with our DBA/system admin, we suspected it had to do the CF11 server JVM setting. We added "-Dfile.encoding=utf8" to java.args in jvm.config and the special characters displayed correctly.

1 reply

James Moberg
Inspiring
April 18, 2016

Could you please provide a stripped-down version of the HTML containing header with doctype, CSS font embeds and HTML used to generate the characters?

Chen_at_First_Industrial
Chen_at_First_IndustrialAuthorCorrect answer
Participant
April 18, 2016

After further research and discussed with our DBA/system admin, we suspected it had to do the CF11 server JVM setting. We added "-Dfile.encoding=utf8" to java.args in jvm.config and the special characters displayed correctly.