-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.4.0
-
sparc
-
solaris_8
In Merlin build process, it uses native2ascii to convert Japanese man page from native eucJP encoding to target encoding UTF-8, PCK.
L10n has delivered new Japanese man page in SGML format, native2ascii fails to convert those pages.
I have tested it on couple of different build, it works on b66
/net/jdk.eng/export/disk6/promoted/jdk/1.4/beta_refresh/b66/binaries/solsparc/bin
but fails on b67 and up.
I attached the file cause the problem with the bug, the command for duplicating the problem is
native2ascii -encoding eucJP java.1 | native2ascii -reverse -encoding UTF-8
------------------
It seems that there is a problem in the "-reverse" option.
Under the ja_JP.UTF-8 locale environment:
% native2ascii -encoding eucJP java.1 java.1.ascii
The above command succeeded, then
% native2ascii -reverse java.1.ascii
java.lang.StringIndexOutOfBoundsException: String index out of range: 8193
The exception was occurred.
% java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b74)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b74, mixed mode)
%
kenichi.kurosaki@Japan 2001-08-03
L10n has delivered new Japanese man page in SGML format, native2ascii fails to convert those pages.
I have tested it on couple of different build, it works on b66
/net/jdk.eng/export/disk6/promoted/jdk/1.4/beta_refresh/b66/binaries/solsparc/bin
but fails on b67 and up.
I attached the file cause the problem with the bug, the command for duplicating the problem is
native2ascii -encoding eucJP java.1 | native2ascii -reverse -encoding UTF-8
------------------
It seems that there is a problem in the "-reverse" option.
Under the ja_JP.UTF-8 locale environment:
% native2ascii -encoding eucJP java.1 java.1.ascii
The above command succeeded, then
% native2ascii -reverse java.1.ascii
java.lang.StringIndexOutOfBoundsException: String index out of range: 8193
The exception was occurred.
% java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b74)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b74, mixed mode)
%
kenichi.kurosaki@Japan 2001-08-03
- duplicates
-
JDK-4481683 j2se/bin/native2ascii is failed for the .java file.
-
- Resolved
-