查看是否有中文语言包可以在终端输入 locale -a命令,如有zh cn 表示已经安装了中文语言
如果没有可以通过网上下载安装中文语言包yum groupinstall chinese-support
然后vim /etc/profile 最后面加入 export LC_ALL=”zh_CN.UTF-8”
服务器生效source /etc/profile
修改进程和应用的配置文件(放开Character Set=UTF-8即可):
/home/psadm2/psft/pt/8.57/appserv/APPDOM/psappsrv.cfg
/home/psadm2/psft/pt/8.57/appserv/prcs/PRCSDOM/psprcs.cfg
:/Character Set 查找 n 向下查找
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| [PSTOOLS]
;=========================================================================
; General settings for PSTOOLS
;=========================================================================
; The "Character Set" setting specifies the character set and encoding
; used for naming files. If this setting is commented out, defaults
; will be used as follows:
; Windows: UTF-8
; UNIX: UTF-8
; z/OS: ccsid1047
; To see the available character encodings, run 'psuniconv -usage'
;Character Set=UTF-8
|
此时重启进程和应用服务器即可