Skip to main content
Participant
September 10, 2020
Question

Special Characters in CF 2018 CFDocument output

  • September 10, 2020
  • 1 reply
  • 145 views

I have problem when trying to output  characters like  (⇒) (≈) (♦), Chinese words etc  when using CFDocument. These characters were gone in the PDF output result.  What is the better method to solve this issue. 

    This topic has been closed for replies.

    1 reply

    Community Expert
    September 10, 2020

    You should be able to do that as long as you've specified UTF-8 appropriately and are using a Unicode font that supports the characters you want.. Ben Nadel put together an example of which fonts work for this here:

     

    https://www.bennadel.com/blog/2987-testing-foreign-and-unicode-character-rendering-with-the-cfdocument-tag-in-coldfusion.htm

     

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC