Chinese characters in WebSphere logs in Linux/AIX are garbled

Source: Internet
Author: User
Tags websphere application server

Chinese characters of Websphere logs in Linux are garbled

Operating System: Red Hat 3.4.4-2
Middleware: IBM WebSphere Application Server-Nd, 6.1.0.17
Chinese characters can be recognized in Linux without garbled characters
Echo $ Lang
Zh_CN.UTF-8

Echo $ lc_all
Zh_cn.gb18030

However, when you use securecrt to view logs in real time: Chinese Characters in tail-F/opt/IBM/WebSphere/appserver/profiles/program rv01/logs/logic. Log are garbled.

Based on online practices
1: Management Console ---> server ---> Application Server ---> server1 ---> JAVA and process management ---> process definition ---> java vm ---> set general JVM parameters
-Dfile. Encoding = GBK-ddefault. Client. Encoding = GBK
2: Management Console ---> server ---> Application Server ---> server1 ---> JAVA and process management ---> Process Definition
---> Java virtual machine ---> set the general JVM parameter to-ddefault. Client. Encoding = GBK
-Dfile. Encoding = GBK-duser. Language = ZH-duser. region = Cn
None solved

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.