[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: unicode support in lua
- From: Klaus Ripke <paul-lua@...>
- Date: Thu, 26 Apr 2007 13:35:51 +0200
On Thu, Apr 26, 2007 at 01:09:12PM +0200, David Kastrup wrote:
> Please note that slnunicode does not really procure strings where the
> atomic elements are Unicode characters: string indices and similar
> things are always byte-based.
nope
> I am more worried about the indexing and atomicity of string
> characters. For the programmer, no model except a packed array of
> unicode-characters makes sense.
>
> As soon as you have to continuously worry about byte counts instead of
> character counts, the complexity of the programming model explodes.
I see, but no problem, slnunicode string functions operate on characters,
not bytes.
regards
Klaus