Bug 5860 - glibc-langpack-en not installed by default
Summary: glibc-langpack-en not installed by default
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P4-Low S5-enhancement
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-13 12:10 UTC by dfrg_msc
Modified: 2023-07-18 17:19 UTC (History)
1 user (show)

See Also:


Attachments
JDK log without glibc-langpack-en (623.50 KB, image/png)
2023-07-18 17:14 UTC, dfrg_msc
Details
JDK log with glibc-langpack-en (752.59 KB, image/png)
2023-07-18 17:14 UTC, dfrg_msc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dfrg_msc 2023-07-13 12:10:51 UTC
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:
Comment 1 扣肉 2023-07-18 13:23:45 UTC
请给出截图,及JDK的口味及版本
Comment 2 dfrg_msc 2023-07-18 17:14:11 UTC
Created attachment 857 [details]
JDK log without glibc-langpack-en
Comment 3 dfrg_msc 2023-07-18 17:14:31 UTC
Created attachment 858 [details]
JDK log with glibc-langpack-en
Comment 4 dfrg_msc 2023-07-18 17:14:55 UTC
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)
Comment 5 dfrg_msc 2023-07-18 17:19:38 UTC
我刚刚试了一下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)