Closed davedoesdev closed 7 years ago
In _read, you're decoding each chunk. However, if the chunks happen to be split in the middle of a UTF8 sequence then decoding fails. The decoding should be done on data when it's yielded.
_read
data
yield
I'll close this in favor of #9, since we'll fix both at the same time.
In
_read
, you're decoding each chunk. However, if the chunks happen to be split in the middle of a UTF8 sequence then decoding fails. The decoding should be done ondata
when it'syield
ed.