RE: Unicode and Java TextAreas

From: Adrian Havill (havill@threeweb.ad.jp)
Date: Thu Apr 30 1998 - 08:43:04 EDT


>As in the note, the newer Swing/JFC JTextComponent (available by download
from the
>Sun java site) implements text editing in pure Java, and is not subject to
these
>limitations. I haven't really played around with it much, and so can't
speak to its
>features in general.

If you use the current version of Swing with JDK 1.1, your JTextComponent
will be able to accept nothing but ISO-8859-1. The Input Method Editor for
CJK systems gets shut off.

You'll either have to wait for JDK 1.2 (which, via the IM framework, allows
non-Latin1), or use standard 1.1 widgets.

Note that this is only for _inputting_ Unicode into Java. The current
version of Java does most Latin and CJKV Ideographs in Unicode just fine.
(No BIDI, non-spacing marks, etc., yet)



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:40 EDT