On 10 March 2010 22:10, Jonathan S. Shapiro <[email protected]> wrote:
> Thanks for the pointer.
>
> Once again: string representation is not the issue at hand. The
> question is only what the size of the "char" data type should be.
>

What does the "char" type reperesent? In C it represents 8bit integes
as well as ascii characters.

Clearly an 8bit integer is needed but it need not be called "char".

Unicode characters are potentially unbound in size, they can consist
of a base character and a string of modifiers or may be some
multicharacter ligatures or whatever. A character iterator is useful
but a complete one returns a substring to handle any such case.

Non-complete character iterator or integer iterator of any width
returns just binary garbage in the general case.

Thanks

Michal
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to