DEV Community

James Moberg
James Moberg

Posted on

Basic Latin Emoji-Style Pound Sign is Reserved

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.


View demo with TryCF


Discussion (0)