Skip to main content
Participant
Sep 10, 2020 7:51 PM UTC
Question

Special Characters in CF 2018 CFDocument output

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 is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Community Expert
    Sep 10, 2020 7:59 PM UTC

    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

    Translate
    Dave Watts, Eidolon LLC