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

Add options to set encoding or disable decode #21

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

digizeph
Copy link
Contributor

For file operations that prefers raw bytes:

with wandio.open(filename, decode=False) as fh:

For operations that needs other encodings:

with wandio.open(filename, encoding="ascii") as fh:

@digizeph digizeph requested a review from alistairking May 26, 2020 18:29
@digizeph digizeph marked this pull request as draft May 26, 2020 19:16
@digizeph digizeph marked this pull request as ready for review April 21, 2021 13:58
@digizeph digizeph marked this pull request as draft April 21, 2021 14:06
@digizeph
Copy link
Contributor Author

Consider using version on py3 branch instead.

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.

1 participant