-
Notifications
You must be signed in to change notification settings - Fork 81
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
Added option to manually set messages encoding for pytest plugin #100
base: master
Are you sure you want to change the base?
Conversation
Could you provide steps to reproduce the problem? I've actually run your example with one modification:
python 3.3 (3.5 also ok) on Windows 10 (russian oem encoding):
|
Unfortunately I can't. The problem with wrong encoding was only on teamcity agent, not my local machine. If I had known what make windows to use cp1252 by default, I would have changed windows setting to solve it. Tests from ccf6bba commit just to check if new option was applied. I added because thought it would be bad pull request with new option not covered by tests. I am sorry if it broken CI, on my local machine new tests passed. |
As far as I know it's about OEM encoding (aka codepage for non unicode programs), try https://superuser.com/questions/497857/how-to-change-language-for-non-unicode-programs-in-windows-8 I'll think about the integration test |
I had a problem on teamcity agent - automatically detected encoding is cp1252 which is wrong and I got encoding error. So I added option to allow manually setting encoding.