DEV Community

loading...

Basic Latin Emoji-Style Pound Sign is Reserved

gamesover profile image James Moberg ・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

pic
Editor guide