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

Set encoding when manipulating stdout #177

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

marcelotrevisani
Copy link
Member

When manipulating stdout please set the encoding, as the subprocess will use the default of the system it might get another encode than unicode that python uses as a default when decoding it. That is a particular problem when using mamba because it outputs some symbols that if the default of the system is not utf-8 or other similar encodings it will raise an exception.

When manipulating stdout please set the encoding,  as the subprocess will use the default of the system it might get another encode than unicode that python uses as a default when decoding it. That is a particular problem when using mamba because it outputs some symbols that if the default of the system is not utf-8 or other similar encodings it will raise an exception.
@netlify
Copy link

netlify bot commented Mar 15, 2022

✔️ Deploy Preview for conda-lock ready!

🔨 Explore the source changes: 2cc2db2

🔍 Inspect the deploy log: https://app.netlify.com/sites/conda-lock/deploys/6230789062e3f400087ba0fd

😎 Browse the preview: https://deploy-preview-177--conda-lock.netlify.app

@mariusvniekerk mariusvniekerk merged commit 1d553ea into conda:main Mar 15, 2022
@marcelotrevisani marcelotrevisani deleted the set-encoding-stdout branch March 15, 2022 15:51
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

Successfully merging this pull request may close these issues.

2 participants