JDK-4777124 : MS950_HKSCS not supported by nio APIs
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-11-11
  • Updated: 2002-11-22
  • Resolved: 2002-11-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Relates :  
Description
J2RE 1.4.1 includes all the nio classes to support MS950_HKSCS, but if you check for this encoding using java.nio.charset.Charset.isSupported or java.nio.charset.Charset.availableCharsets, it's not supported. Apparently the necessary table entries in the CharsetProvider implementation are missing.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b08 VERIFIED IN: mantis
14-06-2004

WORK AROUND Use java.io APIs.
11-06-2004

PUBLIC COMMENTS Verified in Mantis Build 08. ###@###.### 2002-11-22
22-11-2002

EVALUATION Provider entry missing in src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java. Also I have noticed that the canonical name specified for this charset is "MS950-HKSCS" and it should be "x-MS950-HKSCS" since this is not an officially IANA registered charset. ###@###.### 2002-11-13
13-11-2002