[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Could Lua itself become UTF8-aware?
- From: Sean Conner <sean@...>
- Date: Mon, 1 May 2017 01:33:35 -0400
It was thus said that the Great Dirk Laurie once stated:
> 2017-04-30 23:11 GMT+02:00 Sean Conner <firstname.lastname@example.org>:
> > There was a long discussion about that a few years ago:
> > http://lua-users.org/lists/lua-l/2014-04/msg01226.html
> > It appears the consensus then was "maybe not a good idea."
> > -spc
> I did not read that before posting, and Sean is careful not to imply that
> old issues are dead and buried,
Well, the discussion was about using keywords as variable names, like:
if if == then then then = else else else = end end
> But UTF-8 has come closer to universal acceptance in the last three
> years. What was "maybe not a good idea" back then, might have
> become" maybe not a bad idea" now.
But there are still issues, like not all of Unicode code points are valid
alphabetic characters---you have a block of mathematical operator
characters, digit characters for different languages, combining characters
which now include colors. The rules get rather complex rather quickly ...
-spc (Don't even want to think about left-to-right vs. right-to-left
issues ... )