Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 安装及卸载时乱码(应该是编码问题) #66

Open
1 task done
LeoK77S opened this issue Jan 3, 2022 · 2 comments
Open
1 task done

[Bug] 安装及卸载时乱码(应该是编码问题) #66

LeoK77S opened this issue Jan 3, 2022 · 2 comments
Labels
bug Something isn't working package

Comments

@LeoK77S
Copy link

LeoK77S commented Jan 3, 2022

OS Version (系统版本)

Windows

Version Details (版本信息)

CI #386

Describe the bug (问题描述)

在已经安装modmanager的情况下,新版本会要求卸载旧版modmanager,此时弹出的对话框中文乱码;卸载新版modmanager的对话框也会中文乱码

我的电脑本身没有更改过系统默认编码,且软件主界面正常显示,猜测是这两个对话框对应的文件编码格式出了些问题

新版本要求卸载旧版

旧版本卸载

To Reproduce (复现问题)

已经安装过modmanager,安装新版的modmanager;或卸载新版modmanager

Expected behavior (预期行为)

这两个对话框的中文不要乱码

This issue is unique (这个issue是唯一的)

  • I have searched the issue tracker and did not find an issue describing my bug.

Additional context (额外说明)

No response

@LeoK77S LeoK77S added the bug Something isn't working label Jan 3, 2022
@kaniol-lck
Copy link
Owner

这个问题挺奇怪的,好奇在 CI#381 及之前的版本会不会出现乱码。

最开始编写的时候我自己这边没有出现问题,控制生成安装包(也就是控制提示这个对话框)的NSI文件为默认编码,后来有人反馈会出现乱码,将其改为了UTF-8编码,并没有解决乱码问题,甚至可能加重了。我也不清楚是什么问题,等我过几天空闲了再调试一下吧,毕竟我自己也不是windows系统主力

@kaniol-lck
Copy link
Owner

是GitHub上的NSIS有问题,同样的nsi脚本如果我在本地使用NSIS生成安装包不会乱码,但是在GitHub Actions中使用NSIS打包的出来的会有问题,可能需要再调试一下Actions的环境

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package
Projects
None yet
Development

No branches or pull requests

2 participants