--- Martin Sevior
<[EMAIL PROTECTED]> wrote: > 
> Hi Andrew,
>         If we use UTF-32 as our internal format in the
> piecetable will
> we still need two or more 32-bit numbers to
> represent combining
> characters?

Yes we will.  We will need one for the base character
and one for each combining character which combines
with it.

> If not, ie if UTF-32 can hold all unicode in a
> single 32 bit number I vote
> for that as our internal format.
> 
> I really don't like the idea of variable length
> strings per glyph in our
> piecetable though I don't mind converting to that
> when presenting text to
> a GUI.

There's really no way to avoid it and still support
all languages via Unicode.

Andrew Dunbar.

> Cheers
> 
> Martin
>  

=====
http://linguaphile.sourceforge.net http://www.abisource.com

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Reply via email to