Re: Bug#308194: #308194: tuxpaint: cannot type in russian
On Sat, 2006-01-21 at 18:15 +0300, Alexandra N. Kossovsky wrote:
> 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!
Thanks for the help. I will work with upstream on implementing this.
When we are done, may I call upon this list for help with testing?
Regards,
Ben
Reply to: