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

当 WinExe 输出时,避免控制台日志输出乱码 #32

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

walterlv
Copy link
Member

@walterlv walterlv commented Jan 3, 2025

当项目输出类型为 Exe 时,控制台可以正确获取到代码页,于是可以正常输出。但项目输出类型为 WinExe 时,控制台获取到的代码页为 0,使用默认代码页。于是观察到乱码。

@lindexi lindexi merged commit 0c12fae into main Jan 3, 2025
2 checks passed
@lindexi lindexi deleted the t/walterlv/out-encoding branch January 3, 2025 02:24
@walterlv
Copy link
Member Author

walterlv commented Jan 3, 2025

See: dotnet/runtime#111057

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

Successfully merging this pull request may close these issues.

2 participants