On Mon, Feb 18, 2013 at 2:41 PM, Sebastian Skałacki <[email protected]> wrote:
>
> What about locale? In Lua, identifiers can be made of any letters (and 
> digits) and what is a letter is decided basing on locale. Will it be possible 
> to use non-english or even non-latin characters in scripts?

Note that Lua 5.2 removed the support for non-ASCII characters in
identifiers. I don't know whether Scribunto will allow non-ASCII
characters in identifiers currently, but it would be best to stick
with ASCII anyway.

Note this only applies to identifiers (e.g. variable names). Strings
and comments may contain literal UTF-8 characters without issue, and
the mw.ustring library is available to manipulate them.


-- 
Brad Jorsch
Software Engineer
Wikimedia Foundation

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to