lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Oct 25, 2019 at 7:55 AM bil til wrote:
Do you possibly consider to allow value/variable names encoded UTF8 in lua?

This for sure would be VERY nice for very many users in Asia...


You can try to use LuaJIT (formally speaking, it's a fork of Lua 5.1).
It does allow using arbitrary Unicode symbols in a variable name.
For example, you can make valid (but invisible!) variable name consisting of non-breaking space (U+00A0).
Or you can use emojis (inspiring picture: https://pbs.twimg.com/media/DiTBXXmU0AAzaMP.jpg)
But developers from other countries may have difficulties reading and modifying your code containing non-English letters.