lua-users home
lua-l archive

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


2011/11/1 Ben Kelly <ranavin@gmail.com>:
>  there's no technical reason why lua couldn't
> permit ?, !, ∀, and so forth.

The third of your examples is locale-dependent.  On my computer it
shows the same glyph as u2200, but that will not be true for
everybody. Not a technical reason, but potentially confusing.

BTW, is there a technical reason why in Lua 5.2 "\u2200" can't mean
"the UTF-8 encoding of the Unicode symbol u2200" instead of giving
"invalid escape sequence"?  Apart from requiring an update to the `%q`
format option?

Dirk