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.

DEMO

View demo with TryCF

SOURCE

Top comments (0)

šŸŒš Browsing with dark mode makes you a better developer.

It's a scientific fact.