[kaffe] i18n patches for X AWT backend

Atsushi Nemoto anemo at mba.ocn.ne.jp
Thu Feb 26 07:29:02 PST 2004

>>>>> On Thu, 26 Feb 2004 07:43:40 +0900, Ito Kazumitsu <kaz at maczuka.gcd.org> said:

kaz> :> I found that Kaffe might not support i18n well, which is
kaz> :> really bad for handling CJK. I did primitive patches on X AWT
kaz> :> backend for i18n improvements.

kaz> I also thought Kaffe's AWT not supporting i18n was a big problem.
kaz> Thank you for your patches, and I am testing them.

kaz> My test program still does not show Japanese texts and I think I
kaz> must do more dirty things about font setting.

I also have a AWT i18n patch.  It is not tested enough but looks
almost same as Jim Huang posted.

I noticed that kaffe wills not save correct message in Exception class
with this patch.  This is because "strerror" will return non-ascii
strings after "setlocale" was called.

I will post my patch and setlocale workaround tomorrow.

Atsushi Nemoto

More information about the kaffe mailing list