Skip to content

fix(ModLaunch): 启动脚本乱码#6019

Merged
LTCatt merged 2 commits intoMeloong-Git:mainfrom
PCL-Community:fix#6000
Apr 28, 2025
Merged

fix(ModLaunch): 启动脚本乱码#6019
LTCatt merged 2 commits intoMeloong-Git:mainfrom
PCL-Community:fix#6000

Conversation

@wyc-26
Copy link
Collaborator

@wyc-26 wyc-26 commented Apr 2, 2025

fix #6000
有幸修复编号那么整的 Issue

@Open-KFC Open-KFC added · Bug 等待确认 已经过社区确认,等待开发者确认 labels Apr 2, 2025
@LTCatt
Copy link
Member

LTCatt commented Apr 2, 2025

我寻思是不是直接删掉启动脚本的 chcp 65001 就行了?

@wyc-26
Copy link
Collaborator Author

wyc-26 commented Apr 2, 2025

我寻思是不是直接删掉启动脚本的 chcp 65001 就行了?

这个是 #5818 改的啊

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 🟨 中 优先度:中 and removed 等待确认 已经过社区确认,等待开发者确认 labels Apr 2, 2025
@allMagicNB
Copy link
Contributor

我寻思是不是直接删掉启动脚本的 chcp 65001 就行了?

删去会让 UTF-8 编码的脚本文件显示的中文乱码。

@LinQingYuu
Copy link
Collaborator

删去会让 UTF-8 编码的脚本文件显示的中文乱码。

But,PCL2 导出的脚本有 UTF-8 编码的吗?

@allMagicNB
Copy link
Contributor

删去会让 UTF-8 编码的脚本文件显示的中文乱码。

But,PCL2 导出的脚本有 UTF-8 编码的吗?

系统编码为 UTF-8 呢?

@LinQingYuu
Copy link
Collaborator

LinQingYuu commented Apr 2, 2025

系统编码为 UTF-8 呢?

这是程序不是定死的规则,真遇上 UTF-8 加俩 If 不就能解决了么...

Edit:

说白了你当初写的时候不也没想到脚本/Mod 会乱码、LWGJL 加载不了 OpenAL 么

Edit:

你猜我为什么要硬编码 Java 版本大于 8 呢?

@allMagicNB

不猜,我和你素不相识不知道你的想法

@allMagicNB
Copy link
Contributor

系统编码为 UTF-8 呢?

这是程序不是定死的规则,真遇上 UTF-8 加俩 If 不就能解决了么...

你猜我为什么要硬编码 Java 版本大于 8 呢?

@allMagicNB
Copy link
Contributor

allMagicNB commented Apr 2, 2025

说白了你当初写的时候不也没想到脚本/Mod 会乱码、LWGJL 加载不了 OpenAL 么

不知道,反正不一定是我干的。

@wyc-26
Copy link
Collaborator Author

wyc-26 commented Apr 25, 2025

cc? @LTCatt
看到你在 #5909 里面改了编码这方面的代码

@LTCatt LTCatt merged commit b29977e into Meloong-Git:main Apr 28, 2025
2 checks passed
@HexDragon-Bot HexDragon-Bot added 完成 已被处理,将在下次更新之后生效 and removed 处理中 开发者正在调查或处理该项 labels Apr 28, 2025
@wyc-26 wyc-26 deleted the fix#6000 branch April 29, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

· Bug 完成 已被处理,将在下次更新之后生效 🟨 中 优先度:中

Projects

None yet

Development

Successfully merging this pull request may close these issues.

启动脚本乱码

6 participants