Description of problem: glibc-langpack-en未默认安装,导致JDK中文乱码 Version-Release number of selected component (if applicable): glibc-langpack-en-2.36-7.an23.x86_64.rpm How reproducible: Steps to Reproduce: 1.选择Minimal安装,Standard组件 2.安装完毕后,locale仅有C.utf8,无en_US.utf8,导致JDK读写中文均为问号 3.安装glibc-langpack-en并将locale设置为en_US.utf8后恢复正常 Actual results: JDK读写中文为问号 Expected results: JDK读写中文正常 Additional info:
请给出截图,及JDK的口味及版本
Created attachment 857 [details] JDK log without glibc-langpack-en
Created attachment 858 [details] JDK log with glibc-langpack-en
java version "1.8.0_192" Java(TM) SE Runtime Environment (build 1.8.0_192-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
我刚刚试了一下Dragonwell现象也一样的 openjdk version "1.8.0_352" OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.13.14) (build 1.8.0_352-b03) OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.13.14) (build 25.352-b03, mixed mode)