Issues
Enable emoji support in CFML function and variable names
Description
Environment
Attachments
Details
Assignee
UnassignedUnassignedReporter
Mark DrewMark DrewPriority
MinorNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Reporter
Priority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Activity
Mark Drew7 March 2018 at 16:43
@Miles Rausch I have updated the name of the bug, I am not sure I an be more specific in the actual code example.
Brad Wood13 September 2017 at 14:27
This must be an example of Poe's Law
https://en.wikipedia.org/wiki/Poe%27s_law
Darren Walker13 September 2017 at 14:21
Thanks Brad
Miles Rausch13 September 2017 at 14:11
@Brad Wood I don't think this is the first time this ticket has been misconstrued. Do you have the ability to change the title of this ticket? Something like "Allow emoji in function and variable names" might make it more clear that this is a very specific (and probably uncommon) use case. The description could also be updated to demonstrate the kind of emoji support Lucee already has and what kind this ticket is specifically requesting.
Brad Wood13 September 2017 at 13:57
@Darren Walker Lucee can allow you to have emojis in your templates fine. What the ticket is asking for is for ACTUAL function and variable names to have emojis in them which is completely different.
Here, look. This is an example of Lucee having emojis set inside a string variable and it works just fine:
https://trycf.com/gist/47ab83d04a7bfabbd9c7e2b46e77b13c/lucee5?theme=monokai
This is what this ticket is talking about which has never worked on Lucee or Adobe.
https://trycf.com/gist/2c684952d1c564ec03143d8131fb967b/acf2016?theme=monokai
Currently you can only use ASCII in CFML function and variable names, There is no support for emoji's at all (and there should be! They are the future!)
See for example the following code:
<cfscript> writeOutput(💩()); function 💩(){ return "😃"; } </cfscript>
That should run fine!
Please fix immediately! This is of upmost priority!
This ticket does not refer to the normal unicode handling and outputting of variables. Rather it is of using them within your code.