 |
|
|
|
 | This article mentions Thai capabilities and Thai assessment in the JDK. It would help Java application developers to understand Thai support on Java platform and adjust their applications for better Thai support.
Summary:
-
Use JDK 1.4 or higher for better Thai support.
-
TIS-620 is highly recommended for Thai encoding.
-
Use Java Swing instead of AWT for GUI.
-
Increase font size for Thai text rendering.
-
Validate Thai input strings before collate them.
-
If your operating system does not provide the required Thai keyboard layouts such as Pattachote and TIS820-2538, you can implement Java input method by using the java.awt.im.spi package.
-
When running java application on non-Thai operating system, you can override the locale property with Thai locales by specifying – Duser.language and – Duser.region options at the command line.
Java – Duser.language = th – Duser.region =TH – Dfile.encoding = tis-620 JavaApp
For more information or any comments, please contact global@us.ibm.com. |
|
|
|
|
|  | |