Solution for OEM garbled characters in LINUX

Source: Internet
Author: User
How to solve the problem of OEM garbled characters in LINUX-Linux Enterprise Application-Linux server application information. For details, refer to the following section. The root cause of this problem is that the JDK/JRE character set is automatically selected during installation.

1. there are multiple character set font configuration files in the $ ORACLE_HOME/jdk/jre/lib and $ ORACLE_HOME/jre/1.4.2/lib/directories, we only need to replace the default file with an appropriate Chinese Character Set file. We choose to use font. properties. zh_CN.Redhat to replace the default font definition file:

Run the following command:
[Root @ server ~] # Su-oracle
[Oracle @ server ~] $ Cd $ ORACLE_HOME/jdk/jre/lib
[Oracle @ server lib] $ ls font * zh_CN *
Font. properties. zh_CN.Redhat font. properties. zh_CN.Redhat2.1 font. properties. zh_CN.Sun font. properties. zh_CN_UTF8.Sun
[Oracle @ server lib] $ cp font. properties. zh_CN.Redhat font. properties
[Oracle @ server lib] $ cd $ ORACLE_HOME/jre/1.4.2/lib/
[Oracle @ server lib] $ ls font * zh_CN *
Font. properties. zh_CN.Redhat font. properties. zh_CN.Redhat2.1
Font. properties. zh_CN.Sun font. properties. zh_CN_UTF8.Sun
[Oracle @ server lib] $ cp font. properties. zh_CN.Redhat font. properties

2. After the replacement, clear the Cache and restart EM.
Go to the Cache directory:
[Oracle @ server lib] $ cd $ ORACLE_HOME/productname/j2ee/oc4j_applications/applications/em/cabo/images/cache/zhs

Clear all gif files and restart EM:
[Oracle @ server zhs] $ rm *. gif
[Oracle @ server zhs] $ emctl stop dbconsole
[Oracle @ server zhs] $ emctl start dbconsole
Now log on to the Web page, and the EM display will display Chinese characters normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.