lua-users home
lua-l archive

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


On Mon, Nov 4, 2019 at 10:50 AM bil til <flyer31@googlemail.com> wrote:

> this tolower and toupper then of course will operate only on the ASCII chars, these 2 functions leave the non-ascii bytes all untouched (Unicode-UTF8-Charpoints only have bytes in the range 0x80...0xFF, those bytes are NOT touched by toupper / to lower)).

This is not correct. What tolower() and toupper() do depends on the current locale.

In the spirit of Carthago delenda est, Lua should not support UTF-8 for identifiers.

Cheers,
V.