Joel Salomon wrote:

On 5/18/06, Bruce Ellis <[EMAIL PROTECTED]> wrote:

32 bit unicode is not Rune friendly


The "other" standard, ISO 10646, has promised that 21 bits will always
be sufficient to represent characters.

Making Rune a 32 bit type allows all characters to be represented and
leaves room for out-of-band information; for example, the end of a
utf8 text stream (EOF) can be (Rune32)-1, with no need for a wider
type.

--Joel

Oh, I think it is resonable. I thought that ISO10656 is 32 bit, so EOF detection
and so on will break expanding Rune to 32 bit...

Composing seems to me a better solution than encoding everything to one
alphabet. I mean sorting, transformations and so on (convertion to ASCII at least).
But I really not competent in this question.

--
Victor

Reply via email to