mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-11-18 16:50:30 +00:00
构建时 yum 安装 glibc-langpack-en/glibc-common 受网络影响经常超过10分钟。 java:17-anolis、java:21-anolis 基础镜像均自带 C.utf8 locale, 将 LANG/LC_ALL 改为 C.UTF-8 后 file.encoding、sun.jnu.encoding 均为 UTF-8, 中文日志与中文文件名正常,无需再安装语言包。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
采用jar启动必须设置-Dfile.encoding=utf-8 ,不然会加载不到naocs文件
java -Dfile.encoding=utf-8 -jar xxxx.jar