Duplicate :
|
Name: gm110360 Date: 12/23/2003 FULL PRODUCT VERSION : java version "1.4.2_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux nt86201.india.hp.com 2.4.9-e.24 #1 Tue May 27 16:15:51 EDT 2003 i686 unknown EXTRA RELEVANT SYSTEM CONFIGURATION : Browser (Netscape/Mozilla) Language settings set to the appropriate encoding A DESCRIPTION OF THE PROBLEM : Any Applet launched, shows only square boxes instead of Chinese/Korean characters. This is because the font.properties file does not exist for Red Hat advanced server 2.1 OS. For Eg: The font.properties files which get installed are (for zh_CN) font.properties.zh_CN.Sun font.properties.zh_CN.Redhat8.0 font.properties.zh_CN_UTF8.Sun So when the locale is changed to Simplified Chinese, Traditional Chinese or Korean the font.properties file for the required locale will not be found and so it will default to the font.properties(default) file. This will cause any Chinese/Korean character to be shown as a square box. When Netscape/Mozilla is launched in Chinese/Korean locales and Java console is opened all the Chinese/Korean characters are shown as square boxes. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Login to the system in Chinese/Korean OR Change locale by typing $ export LC_ALL=zh_CN ; export LANG=zh_CN ( for Simplified Chinese ) 2. Install the JPI and create the appropriate links in the Netscape / Mozilla install directories. 2. Launch Netscape 7.1 / Mozilla 1.4. 3. Go to Edit->Preferences->Languages. 4. Set Default encoding to Chinese/Korean 5. Go to Tools ->Web Development->Java Console All Chinese/Korean characters are shown as square boxes. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The java console should show correct Chinese/Korean characters. ACTUAL - The Java console displays only square boxes REPRODUCIBILITY : This bug can be reproduced always. (Incident Review ID: 227254) ======================================================================