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

Consider resetting the code page after activation #612

Open
wolfv opened this issue Apr 19, 2024 · 0 comments
Open

Consider resetting the code page after activation #612

wolfv opened this issue Apr 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wolfv
Copy link
Contributor

wolfv commented Apr 19, 2024

Currently we set the code page during activation to 65001 (unicode).

I think that setting might persist in the shell. We might want to revert it after activation is done.

Conda does the following to store the current code page in a variable:

FOR /F "tokens=2 delims=:." %%A in (\'chcp\') do for %%B in (%%A) do set "_CONDA_OLD_CHCP=%%B

The above code parses the output of chcp which is something like: Active codepage: 12345.

@baszalmstra baszalmstra added the enhancement New feature or request label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants