时间: 2021-07-31 作者:daque
从来没如何用10g的em东西,即日翻开来看看,创造也有相传已久的乱码题目.网上也传播着n种处置计划,提防看一下,本来这个题目很好处置.
即使安置时,咱们体例情况变量树立的是华文情况,那么就不会有这个题目.这个题目基础因为在乎安置时,jdk/jre字符集的机动采用.
在 $oracle_home/jdk/jre/lib 和 $oracle_home/jre/1.4.2/lib/ 目次下都有多种字符集字体摆设文献:
[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
咱们只有用符合的中笔墨符集文献替代缺省文献即可,我采用运用font.properties.zh_cn.redhat来替代缺省字体设置文献:
[oracle@danaly lib]$ cp font.properties.zh_cn.redhat font.properties
替代之后须要整理一下cache,重启em即可.
cache路途常常坐落:
$oracle_home/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
废除一切gif文献即可.而后从新启用em:
[oracle@danaly zhs]$ emctl stop dbconsoletz set to prcoracle enterprise manager 10g database control release 10.2.0.1.0 copyright (c) 1996, 2005 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, 2005 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
此刻登岸web页面,em表露就不妨平常表露华文了.