DEV Community

loading...

Basic Latin Emoji-Style Pound Sign is Reserved

James Moberg
I’m a ColdFusion/CFML web application developer at SunStar Media located in Monterey, CA. I am a fan of technology, music and web development.
・1 min read

While writing a ColdFusion unit test and using some Emojis, I encountered some strange ColdFusion errors. CF apparently treats the Basic Latin emoji-style KeyKap pound sign like a regular "reserved" pound sign.

The only way I could work around the error was to use CFSaveContent to render the character (without using CFOUTPUT) and then substitute the variable wherever the emoji was to be used.

Adobe may want to consider adding this emoji to their "Special Characters" page.

DEMO

View demo with TryCF

SOURCE

Discussion (0)