Skip to content

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

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

1 participant

@a4tunado
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
Something went wrong with that request. Please try again.