bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-zile] Adding Unicode support


From: Garnaik Sumeet
Subject: Re: [Bug-zile] Adding Unicode support
Date: Sun, 30 Mar 2014 20:10:55 +0530


Hi Gary,

An interesting recent development is that Lua 5.3 (work 2) was released today, with basic unicode support.

In the interests of forward compatibility, we might want to compare Roberto's unicode API with the starwing utf8 module and see whether it's possible to abstract the starwing API in the 5.3 calls...

The utf-8 api in Lua 5.3 is sufficient but is not extensive as that of starwing utf-8. We will have to do almost the same work as starwing utf-8 except that we have few functions provided by Lua to ease some of our work. I suggest we go with the starwing api for support in Lua 5.2 and above unless we are planning to develop a utf8 library for Lua 5.3 using the Lua utf8 api.

The api functions utf8.len and utf8.offset and utf8.codes will do most of the job by using these iteratively over the strings.
Garnaik, don't sweat this if you have enough to do already, but if you find it interesting, it's certainly worth a look.

Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)




--
Garnaik

Sorry for the late reply, I was caught up with some other work. I will start working on the unicode support as soon as possible.


Thanks,

Garnaik

reply via email to

[Prev in Thread] Current Thread [Next in Thread]