[Top][All Lists]

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

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

From: Byrial Jensen
Subject: Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not translated
Date: Wed, 28 Dec 2011 00:25:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111109 Thunderbird/3.1.16

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?

reply via email to

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