[Tuxpaint-devel] [Fwd: Re: #308194: tuxpaint: cannot type in russian]
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Ben A. <sy...@sa...> - 2006-01-21 18:15:08
|
I think this will help. Ben -------- Forwarded Message -------- > From: Alexandra N. Kossovsky <sa...@sa...> > To: Ben Armstrong <sy...@sa...> > Cc: deb...@li..., 30...@bu... > Subject: Re: #308194: tuxpaint: cannot type in russian > Date: Sat, 21 Jan 2006 18:15:31 +0300 > > 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! > |