[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Allow UTF8 value names in lua?
- From: Viacheslav Usov <via.usov@...>
- Date: Mon, 4 Nov 2019 13:10:31 +0100
> 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.