[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Could Lua itself become UTF8-aware?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 29 Apr 2017 13:25:55 +0200
At present all the entries from 0x80 to 0xFF in the constant array
luai_ctype in lctype.c are zero: no bit set.
There are three unused bits. Couldn't two of them be used to mean
UTF8_FIRST and UTF8_CONT?
This is only the first step, but if the idea is shot down here already,
the others need not be mentioned.