Skip to main content
Chen_at_First_Industrial
Participant
Apr 15, 2016 7:32 PM UTC
Answered

Problem with cfhtmltopdf and special characters

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.
Chen_at_First_Industrial
Participant
Apr 18, 2016 7:28 PM UTC

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
Apr 18, 2016 1:27 PM UTC

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?

Translate
Chen_at_First_Industrial
Chen_at_First_IndustrialAuthorCorrect answer
Participant
Apr 18, 2016 7:28 PM UTC

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.

Translate