Weblogic releases the application package. Path garbled errors & amp; linux modifies LANG environment variables (solves Chinese garbled characters)

Source: Internet
Author: User

When I publish an application package in weblogic today, the package contains the path or file name in Chinese. When I publish the package, an error message is displayed, indicating that the package cannot be mounted!


Output zh_CN.UTF-8 via command echo $ LANG


We need to modify the LANG environment variable to solve this problem!

A. to temporarily solve the problem, you can change the current environment variable and execute export LANG = zh_CN.GB18030. However, after the terminal is closed, the environment variable will be changed back to the system default.

B. If there is a permanent change, you need to change LANG to the required value in vi/etc/sysconfig/i18n and save it, for example, zh_CN.GB18030


Finally, open a terminal and enter echo $ LANG to check whether the LANG environment variable has changed.


After the change is completed, it is found that weblogic has released a package with a Chinese path again!

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.