-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
Cause Known
-
x86
-
windows_2000
FULL PRODUCT VERSION :
JDK 1.6.0_01
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 [Version 5.0.2195]
A DESCRIPTION OF THE PROBLEM :
There are a couple of anomalies in the list produced by java.nio.charset.Charset.availableCharsets().
See http://mindprod.com/jgloss/encoding.html for source.
1. The encodings x-UTF-16LE-BOM, X-UTF-32BE-BOM,
X-UTF-32LE-BOM exist but not x-UTF-16BE-BOM.
the x- is lower case sometimes and uppercas others x-UTF-16LE-BOM vs X-UTF-32LE-BOM
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
view page http://mindprod.com/jgloss/encoding.html
which will run an applet to display Charset.availableCharsets().
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the presence of x-UTF-16BE-BOM.. All four spelled consistently.
ACTUAL -
missing x-UTF-16BE-BOM. Some x- some X-
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
http://mindprod.com/jgloss/encoding.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
use different encoding names.
JDK 1.6.0_01
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 [Version 5.0.2195]
A DESCRIPTION OF THE PROBLEM :
There are a couple of anomalies in the list produced by java.nio.charset.Charset.availableCharsets().
See http://mindprod.com/jgloss/encoding.html for source.
1. The encodings x-UTF-16LE-BOM, X-UTF-32BE-BOM,
X-UTF-32LE-BOM exist but not x-UTF-16BE-BOM.
the x- is lower case sometimes and uppercas others x-UTF-16LE-BOM vs X-UTF-32LE-BOM
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
view page http://mindprod.com/jgloss/encoding.html
which will run an applet to display Charset.availableCharsets().
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the presence of x-UTF-16BE-BOM.. All four spelled consistently.
ACTUAL -
missing x-UTF-16BE-BOM. Some x- some X-
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
http://mindprod.com/jgloss/encoding.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
use different encoding names.