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

Re: #308194: tuxpaint: cannot type in russian



Tuxpaint does not support Unicode at all. Some Americans think that
supporting unicode is supporting Latin-1 mapping to unicode. Such "unicode
support" does not work for Russians, Greeks and many other people. :-(

In tuxpaint.c, there is following code which is not unicode-ready:
1.
isprint(key_unicode): you should use iswprint() for wide chars.
2.
static char texttool_str[256];
....
texttool_str[texttool_len++] = key_unicode;
key_unicode may be more than 1 byte long, so it does not work.

I'm afraid I can't help with a patch.
Thank you for the program!

-- 
Regards,
        Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: sasha@sanechka.spb.ru



Reply to: