We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1623ce commit 0edeb5cCopy full SHA for 0edeb5c
src/sparkle/selector/extractor.py
@@ -195,6 +195,7 @@ def decode_stream(stream: Any) -> str:
195
if stream is None:
196
return ""
197
if isinstance(stream, bytes):
198
+ # use replace to substitute undecodable bytes with replacement character
199
return stream.decode(errors="replace")
200
return str(stream)
201
0 commit comments