gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: How does arch/tla handle encodings?


From: Tom Lord
Subject: Re: [Gnu-arch-users] Re: How does arch/tla handle encodings?
Date: Sat, 28 Aug 2004 19:42:28 -0700 (PDT)

    > Date: Sat, 28 Aug 2004 21:32:30 -0400
    > From: Aaron Bentley <address@hidden>

    > Marcus Sundman wrote:
    > > Yes, and for strings with those UTF-16 is as bad as UTF-8 when it comes 
to 
    > > random access.

    > That means that a general system which wants random access to codepoints 
    > must use UTF-32.  


Are you not paying attention to the approach being taken by hackerlab?

It provides (/will provide -- it's all pretty new code) random access
to codepoints without committing (exclusively) to UTF-32.

A mixed-encoding scheme library is the right way to do it.


    > Anything else is half-measures or worse.

False dichotomy, bro.


    > as U+0061 followed by U+0300, then there's no such thing as random 
    > access to characters in Unicode.  You can't change U+0061 and U+0300 
    > into U+0062 without altering the number of codepoints in the string.

Yes, C arrays definately aren't (directly) Unicode strings.   Gosh,
there's a surprise.

-t





reply via email to

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