-
Bug
-
Resolution: Fixed
-
P2
-
1.1.4, 1.2.0
-
1.1.6
-
x86
-
windows_95
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2017334 | 1.2.0 | Xueming Shen | P2 | Resolved | Fixed | 1.2beta3 |
Name: mf23781 Date: 10/09/97
Internationalization problem #2, reported by Lotus BeanMachine
folks: (by Michael Fraenkel)
For Double byte languages like chinese(Tawain), etc, if you start out
in english mode and switch
keyboard mode(cause the IME to come up), then you can't enter the characters.
It is broken in simple
Chinese(Windows 95 version #4.00.950) and is broken in the Tawain
chinese(Windows 95 version #4.00.950B). It works
in Japanese(Windows 95 version #4.00.950a) and works in Korean(Windows 95
version 4.00.950a). The problem is that
in the languages that don't work, the Windows 95 OS is passing the wrong
character set. The FIX, works in all
the languages and all the versions, instead of cacheing the passed in
character set, just query the current character set.
This bug is in the awt_Component.cpp file, in the following method they need to
add the query of the current
character set.
MsgRouting AwtComponent::WmInputLangChange(UINT charset, UINT hKeyboardLayout)
{
//John Boezeman - Comment out this line, Win95 was passing in 136 for
chinese(Tawain) instead of 950
// m_CharSet = charset;
//John Boezeman - Add this line
m_CharSet = ::GetACP();
m_hKeyboardLayout = (HKL)hKeyboardLayout;
return mrConsume;
}
======================================================================
- backported by
-
JDK-2017334 Can't switch to Chinese input methods
-
- Resolved
-