在Ubuntu(Linux)上换Zulu JDK 遇到的编码问题
2020-09-07 本文已影响0人
暗夜行者
Here we find a new issue in this image that impacts our download file function. The download file has corrupted characters. After run into the docker container, it will show a warning message:

And the issue is solved by executing command:
apt-get install -y locales
locale-gen en_US.UTF-8
I also generate a locale file by executing update-locale en_US.UTF-8.
After these settings , our project file can be downloaded without corrupted characters now.
Here is the reference:https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu