JDK-4023097 : Button.setLabel("\u301c") doesn't display the string correctly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 1996-12-20
  • Updated: 1998-08-13
  • Resolved: 1998-08-13
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 Other
1.1.6 1.1.6Fixed 1.2.0Fixed
Related Reports
Relates :  
Description
masayoshi.okutsu@Eng 1996-12-20
Button.setLabel("\u301c") doesn't display the string correctly on a Japanese
platform.

The same problem occurs with Checkbox.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.1.6 1.2beta3 FIXED IN: 1.1.6 1.2beta3 INTEGRATED IN: 1.1.6 1.2beta3
14-06-2004

EVALUATION [naoyuki 1/8/97] This code \u301c is not diaplayed in real WindowsNT3.51, too. But if user specify SJIS 0x8160, JDK converter ByteToCharSJIS convert to \u301c, so this might be a problem.
11-06-2004

WORK AROUND
11-06-2004

PUBLIC COMMENTS Button.setLabel("\u301c") doesn't display the string correctly
10-06-2004

SUGGESTED FIX Windows doens't map 0x301C to a valid SJIS character. JDK converter maps to a full tilde. This is incorrect. This is reported in bug id 4066961. Corrected this problem in the JDK converter to work like windows converter. shanmugam.senthil@Eng 1998-01-27
27-01-1998