Den 28-12-2011 00:22, h.g. muller skrev:
Yes, as said before in this thread you have to use the C99 function
mbtowc() or some library dedicated to handle multibyte char strings.
Well, I admit had not thought of that, but this is completely trivial to
code even without using any libraries.The high bits of UTF8 immediately
tell you the
grouping pattern. (IIRC any byte that starts with10 binary is a
continuation byte, all others are start bytes.)
It is simple for UTF-8, but some users use other encodings. Do you know
them all?
_______________________________________________
Bug-XBoard mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-xboard