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] wiki链接错误 #3589

Open
Mine-diamond opened this issue Feb 3, 2025 · 5 comments
Open

[Bug] wiki链接错误 #3589

Mine-diamond opened this issue Feb 3, 2025 · 5 comments
Labels

Comments

@Mine-diamond
Copy link

Mine-diamond commented Feb 3, 2025

平台 | Platform

Windows11 23H2

问题描述 | Bug Description

当在游戏下载界面点击右侧的Wiki链接时,如果是正式版,不能成功打开对应版本的页面,而是“Java版”页面,如果是快照版,则能成功打开对应页面

如图为点击1.12.1版本右侧链接后打开的页面,地址栏上的url为
https://zh.minecraft.wiki/w/Java版?1_21_1%3Fvariant=zh-cn&variant=zh-cn

Image
如图为通过下载页面打开的25w05a的页面,能正常打开,地址栏上的url为
https://zh.minecraft.wiki/w/25w05a?variant=zh-cn

Image

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

hmcl-exported-logs-2025-02-03T12-29-00.log

@zkitefly
Copy link
Member

zkitefly commented Feb 3, 2025

Image

Image

无法复现

@Mine-diamond
Copy link
Author

Mine-diamond commented Feb 3, 2025

我在我的电脑和虚拟机上反复实验,应该是我的电脑的编码出现了问题,导致链接中的“版”变成了“?”从而导致链接异常,wiki自动重定向到其它页面,确实不是hmcl的问题。抱歉带来麻烦了

@zkitefly zkitefly closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2025
@Glavo Glavo reopened this Feb 3, 2025
@Glavo
Copy link
Member

Glavo commented Feb 3, 2025

可能 HMCL 打开浏览器的方式需要改进,我稍后看看。

@Mine-diamond
Copy link
Author

这个问题出现在我的电脑的“非Unicode程序的语言”设置上,我现在的设置已经修正回为“中文(简体,中国)”,没有发生错误,我之前选的是“英语(美国)”,打开链接时“Java版1.21.1”会变成“Java?1.21.1”导致问题,不过,在搜索栏直接打出正确的链接不会出问题,且绝大多数程序未出现乱码情况,不过我测试发现当设置为“英语(美国)”时 我写的几个java程序(.jar)打印到终端的中文内容会变成“???”(不过一般都在IDE中执行就没发现,且IDE中也能正常显示)

Image

@hejiehao
Copy link
Contributor

hejiehao commented Feb 4, 2025

可以把 改成 %E7%89%88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants