bug-xboard
[Top][All Lists]
Advanced

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

Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not transl


From: h.g. muller
Subject: Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not translated
Date: Wed, 28 Dec 2011 00:22:56 +0100


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.)



reply via email to

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