Skip to content

UnicodeEncodeErrors on Windows #3

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

Closed
reevespaul opened this issue Sep 3, 2021 · 3 comments
Closed

UnicodeEncodeErrors on Windows #3

reevespaul opened this issue Sep 3, 2021 · 3 comments

Comments

@reevespaul
Copy link

I'm getting around 20 errors like this one for core 1331 when running under windows 2019 server.

UnicodeEncodeError: 'charmap' codec can't encode characters in position 221-225: character maps to <undefined>

They don't show when run under linux.
Does anyone have any idea what I'm missing? I've tried with python 3.8 and 3.9

@pcisar
Copy link
Contributor

pcisar commented Sep 3, 2021

Could you please provide a name of at least one such test?

@reevespaul
Copy link
Author

It is in the first line :-) - core 1331

@reevespaul
Copy link
Author

For what its worth I've already tried

PYTHONIOENCODING=UTF-8
PYTHONLEGACYWINDOWSSTDIO=UTF-8

That hasn't worked.

I tried this first on server core, which is console only. Everything needs to be configured manually and thought maybe that I might have missed something. But my latest tests are with a fully configured GUI version of W2K19.

@pcisar pcisar closed this as completed May 9, 2024
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

No branches or pull requests

2 participants