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

Problems with default encoding on Windows machines #260

Open
gryznar opened this issue Dec 20, 2021 · 0 comments
Open

Problems with default encoding on Windows machines #260

gryznar opened this issue Dec 20, 2021 · 0 comments

Comments

@gryznar
Copy link

gryznar commented Dec 20, 2021

Team city in my case is running on Windows machine which has default encoding set to cp852. The problem is that current behaviour:
image
does not have any protection against exception in encoding. I am using pytest and I get this error:
image

I see few possible solutions:

  1. Command line argument specifying encoding
  2. try excpet block in which firstly is handled default encoding and if it fails -> utf-8
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

1 participant