-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
On Windows keepassxc-cli.exe changes the code page to 65001 but does not restore it. #11465
Comments
The default code page is 437 when I launch a fresh command prompt. I do not observe any font changes from within Terminal, but I do observe that from the legacy command prompt. |
Steps to Reproduce on fresh Windows 10 Enterprise 22H2 installation.
When opening a new Command Prompt and changing the console font from Consolas to Lucida Console. |
This is so we can display passwords with non-ASCII characters. See #3050. |
Overview
When calling keepassxc-cli.exe on Windows it changes the code page to 65001.
And when calling powershell.exe, the font changes from Consolas to Raster Fonts.
Version 2.7.3 is OK, but versions 2.7.4 and later change the code page and the console font.
Steps to Reproduce
powershell.exe dir C:\Windows\System32\cmd.exe
"C:\Program Files\KeePassXC\keepassxc-cli.exe" -v
powershell.exe dir C:\Windows\System32\cmd.exe
Expected Behavior
Console font does not change.
Actual Behavior
Console font changes from Consolas, size 16 to Raster Fonts, size 8x12.
Context
Default code page is 850, not 437.
The
chcp.com
command returns 850.The Command Prompt font is set to Consolas, size 16.
KeePassXC - 2.7.4 and later
Operating System: Windows
Additional info when running inside PowerShell.
The text was updated successfully, but these errors were encountered: