Skip to content

Conversation

ras0219-msft
Copy link
Collaborator

All in-box versions of powershell in Windows 7 through Windows 10 will corrupt the console font in certain (common) circumstances[1]. The best way to fix this is to always use the new powershell core, which has removed this "feature".

As an added bonus, it means any powershell scripts inside vcpkg can rely on having a modern version of powershell and don't need to worry about version skew across legacy Windows versions (Note: does not apply to bootstrap.ps1 and applocal.ps1 because these run outside vcpkg).

[1] PowerShell/PowerShell@46cdd7e#diff-38052b6d0f2182bf2d4debed33df29f6L2665

@ras0219-msft ras0219-msft self-assigned this Jun 30, 2019
@ras0219-msft ras0219-msft merged commit 2b8e225 into microsoft:master Jul 6, 2019
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Fix font corruption bug on Windows by downloading Powershell Core

* [vcpkg] Rename subtool to powershell-core

* [vcpkg] Add missing includes to project files
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.

1 participant