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!