Keith said:
Harald van D_k said:
Keith said:
[...]
How many bits you need for a char depends on your language. 64 is a good
choice, however, because then the bits can be a 8x8 raster.
How is an 8x8 raster useful? We're talking about a representation of
a character code, not a graphical representation of what the character
looks
They could be equal. With 64-bit chars, ' ' could be equal to
0xFFFFFFFFFFFFFFFF, 'A' could be equal to 0xFFE7DBDBC3DBDBFF, etc. (My
apologies if I got the number wrong.)
And the values of the characters '0' through '9' would no longer be
contiguous.
Good point. You'd need a special exception in that system, swapping
the character containing the representation of '0' with an otherwise
unused representation, and similarly for the other digits.
I see no point in tying the type char to any particular font (assuming
that's what Malcolm has in mind).
If I ignore your previous paragraph here, there could be a rare
exception: a system that already uses 64-bit chars anyway, and where
the font cannot be changed, and where even in text mode any
combination of pixels can be printed in a character block. Generally
speaking though, neither do I, and even that system should probably be
redesigned to allow the font to be changed, since the hardware is
clearly capable of it.
[My first reply was incorrect tagged "charset=utf-16be", so I'm
re-posting. I'll try to fix whatever's causing that.]
You've said it's caused by my name, but you're the first I've seen
have this particular problem with it, so no idea here, sorry.