Unable to Display Chinese Characters Correctly in English Versions of Linux

Publication Date:  2012-07-22 Views:  199 Downloads:  0
Issue Description

On a maintenance terminal in which a English version of Linux is installed, Chinese characters are found to be displayed as garbage characters when logging in to the ISM and selecting Chinese from Languages in the Select Language dialog box.

Product and version information:
  • S2600
  • S5000 series
  • The OS of the maintenance terminal is either SUSE Linux 10.0 or Solaris 10.0
Alarm Information
None
Handling Process
  1. Access the OS of the maintenance terminal in CLI mode.
  2. Access the /lib/fonts directory under the installation path of the JRE.
  3. Run the command mkdir fallback to create a folder called fallback.
  4. Copy the font file Simsun.ttf under the font directory (for example, C:\WINDOWS\Fonts) of Windows to Linux.
  5. Move or copy the file Simsun.ttf to the fallback folder.

     

    [root@test ~]# 
    [root@test ~]# mkdir /usr/lib/jvm/jre/lib/fonts/fallback
    [root@test ~]# cp Simsun.ttf /usr/lib/jvm/jre/lib/fonts/fallback
    [root@test ~]# 

     

  6. The Chinese characters should be displayed correctly after the ISM is restarted.
Root Cause

The ISM fails to display Chinese characters correctly due to missing fonts in the English version of Linux.

Suggestions
None

END