I have never used the 10 Gb em tool. Today I open it and find that there are also long-standing garbled code problems. there are also n solutions circulating on the Internet. Let's take a closer look. In fact, this problem is a good solution.
If the system environment variable is set to a Chinese environment during installation, this problem does not occur. The root cause is that the JDK/JRE character set is automatically selected during installation.
There are multiple character set font configuration files in the $ ORACLE_HOME/JDK/JRE/lib and $ ORACLE_HOME/JRE/1.4.2/lib/directories:
[Oracle @ danaly ~] $ CD $ ORACLE_HOME/JDK/JRE/lib [Oracle @ danaly 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 @ danaly lib] $ CD $ ORACLE_HOME/JRE/1.4.2/lib/[Oracle @ danaly 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
We only need to replace the default file with an appropriate Chinese Character Set file. I chose to replace the default font definition file with font. properties. zh_cn.redhat:
[Oracle @ danaly lib] $ CP font. properties. zh_cn.redhat font. Properties
After replacement, you need to clear the cache and restart em.
The cache path is usually located:
$ ORACLE_HOME/Solaris/J2EE/oc4j_applications/applications/EM/Cabo/images/Cache/ZHS
Clear all GIF files. Then restart EM:
[Oracle @ danaly ZHS] $ emctl stop dbconsoletz set to prcoracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. http://danaly.hurrray.com.cn: 1158/EM/console/aboutapplicationstopping Oracle Enterprise Manager 10g Database Control ...... stopped. [Oracle @ danaly ZHS] $ emctl start dbconsoletz set to prcoracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 copyright (c) 1996,200 5 Oracle Corporation. all rights reserved. http://danaly.hurrray.com.cn: 1158/EM/console/aboutapplicationstarting Oracle Enterprise Manager 10g Database Control .............. started. ---------------------------------------------------------------- logs are generated in directory/opt/Oracle/product/10.2.0/danaly.hurrray.com.cn _ danaly/sysman/log
Now log on to the web page, and the EM display will display Chinese characters normally.