美文网首页
在Ubuntu(Linux)上换Zulu JDK 遇到的编码问题

在Ubuntu(Linux)上换Zulu JDK 遇到的编码问题

作者: 暗夜行者 | 来源:发表于2020-09-07 12:05 被阅读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

相关文章

网友评论

      本文标题:在Ubuntu(Linux)上换Zulu JDK 遇到的编码问题

      本文链接:https://www.haomeiwen.com/subject/bvmkektx.html