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: Sat, 22 Mar 2014 16:02:31 +0530

Hi,
   That's interesting. I will look into it as soon as possible and get back to you guys.

Thanks,

Garnaik.


On Sat, Mar 22, 2014 at 7:07 AM, Gary V. Vaughan <address@hidden> wrote:
On Mar 13, 2014, at 1:46 PM, Reuben Thomas <address@hidden> wrote:
> On 13 March 2014 00:30, Gary V. Vaughan <address@hidden> wrote:
> Hi Garnaik,
>
> On Mar 13, 2014, at 9:11 AM, Garnaik Sumeet <address@hidden> wrote:
>
> > Hello Gary and Reuben Sir,
> >          I kind of overviewed the source of zile and hopefully I have figured it out on how to add unicode support to zile.
>
> I have two things to add to Gary's comments:
>
> 1. I would like to see what types and methods you propose to change; I think that is a more helpful way to think than in terms of files you plan to touch.
>
> 2. Gary is quite right that you will need to use the wide-character version of curses. This brings up another question: is it best to represent the buffer as wide characters (wchar_t) and translate to/from UTF-8 just for loading/saving? I think so, as otherwise computing offsets within the buffer becomes a bit of a nightmare.

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...

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

reply via email to

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