Re: byteoffset() in lutf8lib.c from 5.3, work2
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: byteoffset() in lutf8lib.c from 5.3, work2
 
- From: Sean Conner <sean@...>
 
- Date: 2014年5月13日 19:45:55 -0400
 
It was thus said that the Great Coroutines once stated:
> On Tue, May 13, 2014 at 3:41 PM, Sean Conner <sean@conman.org> wrote:
> 
> > If you are curious, check out the source code to joe (Joe's Editor),
> > specifically, the files i18n.c and utf8.c, to see just the amount of code
> > required to maybe, hopefully, handle UTF-8. I have no idea how well it
> > deals with right-to-left languages.
> 
> https://github.com/paul-schwendenman/joe-editor/blob/master/joe/i18n.c
> 
> I am not a fan of the proliferation of wide characters :(
 Well, if you want to handle checking for control characters, spaces, upper
case, lower case, numbers, combining characters or punctuation ...
 -spc (i18n.c and utf8.c compile to about 31k on a 32-bit system ... )
- References:
- byteoffset() in lutf8lib.c from 5.3, work2, Coroutines
 
- Re: byteoffset() in lutf8lib.c from 5.3, work2, Roberto Ierusalimschy
 
- Re: byteoffset() in lutf8lib.c from 5.3, work2, Coroutines
 
- Re: byteoffset() in lutf8lib.c from 5.3, work2, Sean Conner
 
- Re: byteoffset() in lutf8lib.c from 5.3, work2, Coroutines