1. Directly modify the environment variables
Addexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
2. Execute the command to make the environment variable take effect
source .bash_profile
3. Check whether the character set has taken effect
4. Execute the command again and see Is it still garbled? Solve the problem
Recommended tutorial: linux tutorial
The above is the detailed content of Oracle garbled problem in linux environment. For more information, please follow other related articles on the PHP Chinese website!