[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Native unicode support?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 26 Jun 2002 14:06:10 -0300
> If you want to make UTF-8 the fixed, default encoding for the .lua
> scripts themselves, then you will need to adapt llex.c, and supply your
> own replacements for isalpha() and isalnum().
Just to make sure: you only need this adaptation if you want "localized"
identifiers. If you want extra characteres only inside strings, you
don't need to change anything inside the Lua core (except perhaps to
redefine `strcoll'?). It should work with UTF-8 strings out of the box.
-- Roberto