>
And this is trivial to implement: just edit lctype.c.
I don't think it is just as trivial as you expect.
The unicode code point 0xA0
encoded as UTF-8 becomes the 2 bytes0xC20xA0.
In my suggestion, Lua should handle those 2 bytes just like UTF-8 handles it, as just one code point/character.
On Sat, Jul 7, 2018 at 2:04 PM Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> And, anyway, it seems nobody has problems with 0xA0 not being defined
> as a space in lua ( either when using utf-8, latin-* or win1252 or
> others ).
And this is trivial to implement: just edit lctype.c.
--
Alysson Cunha / AlyssonRPG http://www.rrpg.com.br - Jogue o tradicional RPG de mesa online