-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
x86
-
windows_xp
Name: jl125535 Date: 09/02/2003
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
A call to native2ascii -reverse -encoding UnicodeLittle converts all \uxxxx codes except the first one.
Same with UnicodeBig. UnicodeXXXUnmarked works fine.
Under Linux with jdk1.3 the error occured too.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a file with content:
\u00f6\u00fc\u00f6\u00e4
call:
native2ascii -reverse -encoding UnicodeLittle file
EXPECTED BEHAVIOR -
(occurs when no -encoding is specified)
÷â¿Ã·Î£
ACTUAL -
■\ u 0 0 f 6 ⿠÷ Σ
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
If for a property file, just add a comment to the first line with a char above the 127 bit border.
(Incident Review ID: 188491)
======================================================================
###@###.### 2003-09-23
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
A call to native2ascii -reverse -encoding UnicodeLittle converts all \uxxxx codes except the first one.
Same with UnicodeBig. UnicodeXXXUnmarked works fine.
Under Linux with jdk1.3 the error occured too.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a file with content:
\u00f6\u00fc\u00f6\u00e4
call:
native2ascii -reverse -encoding UnicodeLittle file
EXPECTED BEHAVIOR -
(occurs when no -encoding is specified)
÷â¿Ã·Î£
ACTUAL -
■\ u 0 0 f 6 ⿠÷ Σ
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
If for a property file, just add a comment to the first line with a char above the 127 bit border.
(Incident Review ID: 188491)
======================================================================
###@###.### 2003-09-23
- duplicates
-
JDK-4514837 ChartoByteUnicode needs correct canConvert(char) implementation
-
- Closed
-