description: FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
FULL OPERATING SYSTEM VERSION :
4NT 3.01A Windows NT 5.00 Win2000
A DESCRIPTION OF THE PROBLEM :
For entering special ANSI characters, such as accented
characters and ligatures, on Windows one uses Alt+0nnn
(where the numbers are typed on the numeric keypad). One
can see the ANSI character codes in the Windows Character
Map accessory. For example, Alt+0223 should give the German
sharp s ligature ?.
In JDK 1.3.1, typing Alt+0223 in a JTextField or JTextArea
correctly gives the German sharp s ligature. Similarly,
for Alt+130
In JDK 1.4.1, typing Alt+0223 incorrectly gives a U with a
grave accent (which you should get with Alt+0217).
REGRESSION. Last worked in version 1.3.1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run Notepad JFC demo application.
2. Click in the edit area.
3. Hold down the Alt key, and while holding it down use the
keyboard's numeric keypad to type 0223.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Should see German sharp s ligature: ?
- With JDK 1.3.1 you do see the German sharp s ligature.
- With JDK 1.4.1 get incorrect letter 'U' with grave
accent: ?
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Use JFC notepad demo application included with JDK.
---------- END SOURCE ----------