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

Reading text as typedbytes affects lines with encoding other than utf8 #82

Open
a4tunado opened this issue Mar 1, 2014 · 0 comments
Open

Comments

@a4tunado
Copy link

a4tunado commented Mar 1, 2014

Streaming backend assumes that input format is typedbytes even if -inputformat argument is 'text':
https://github.com/klbostee/dumbo/blob/release-0.21.36/dumbo/backends/streaming.py#L81

This leads to apply typedbytes.PairedInput to all input lines: https://github.com/klbostee/dumbo/blob/release-0.21.36/dumbo/core.py#L380

Appling util.loadtext instead of typedbytes.PairedInput resolves this issue.

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