>I am currently working with Java 1.0.2 on a project, but it uses Unicode
>1.1.5. The current download of JDK 1.0.2 does not contain the Native2ASCII
>converter. JDK 1.1.6 has the converter, but it conforms to Unicode 2.0 not
>1.1.5. I was unable to find a Native2ASCII for JDK 1.0.2 and have yet to
>hear from Sun. Does anybody have this converter, or does the 1.1.6
>converter work properly for non-Asian languages in JDK 1.0.2?
>Michael J. Ditto
>International Language Engineering Corporation
Java 1.0.x is unsuitable for i18n work. Nominally, "char" was based on
Unicode 1, but in reality, many of the classes had built-in Latin-1
assumptions and will munge any Unicode chars that have the nerve to put
something besides 0 in the high-order byte.
For this reason, there was no Native2ASCII in any version of JDK 1.0.x, and
never will be, AFAIK.
Java 1.1.x and Java 1.2 are based on Unicode 2.0. Their JDKs now include a
native2ASCII utility that reflects Unicode 2.0, but it's not unimaginable
that there might be errors in the converters.
As for whether the native2ascii tools in JDK 1.1 will work for "non-Asian
languages" (which I interpret as meaning "single-byte encodings other than
Latin-1") for Java 1.0.x work...I believe that any encoding that has
characters that are mapped to unicode code points above U+00FF will be
unusable with Java 1.0, so it won't matter whether native2ascii works or
not. Java 1.0 should be considered limited to Latin-1.
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:40 EDT