docker-library / openjdk

Docker Official Image packaging for EA builds of OpenJDK from Oracle
http://openjdk.java.net
MIT License
1.14k stars 471 forks source link

openjdk:14.0.2: ANSI_X3.4-1968 encoding instead of UTF-8 #430

Closed kliakos closed 3 years ago

kliakos commented 3 years ago

The default encoding in openjdk:14.0.2 has changed from previously UTF-8 to ANSI_X3.4-1968.

image

yosifkit commented 3 years ago

That does seem like a bug and we should fix it if possible. It is likely to be caused by openjdk:14.0.2 changing from Oracle Linux 7 to Oracle Linux 8. If you want to stick to 7, then you need to use more specific tags: openjdk:14.0.2-oraclelinux7.

tianon commented 3 years ago

Aha, I found the source of the issue! Oracle Linux 7 didn't have C.UTF-8, so we used en_US.UTF-8 there instead, but Oracle Linux 8 now doesn't have en_US.UTF-8 but does have C.UTF-8. I'll have a PR up shortly. :+1: