Skip to main content
Chen_at_First_Industrial
Participant
April 15, 2016
Answered

Problem with cfhtmltopdf and special characters

  • April 15, 2016
  • 2 replies
  • 837 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 is closed to new replies. Start a new post to keep the conversation going.
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.

2 replies

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.