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

How to solve "stream did not contain valid UTF-8"? #3

Open
dbsxdbsx opened this issue Jul 28, 2022 · 2 comments
Open

How to solve "stream did not contain valid UTF-8"? #3

dbsxdbsx opened this issue Jul 28, 2022 · 2 comments

Comments

@dbsxdbsx
Copy link

dbsxdbsx commented Jul 28, 2022

Sometimes the feedback from the process would give some output not follow UTF-8 codec. Is there a way to work around it? For example, when the output is detected as not UTF-8, then I could decode it with another codec.

@kkharji
Copy link
Owner

kkharji commented Jul 28, 2022

Hey @dbsxdbsx, custom codec is not supported.

🤔 maybe new variable set_custom_codoc. It would be better to not try to parse twice and have one user provided parser.

@dbsxdbsx
Copy link
Author

dbsxdbsx commented Aug 3, 2022

Hey @dbsxdbsx, custom codec is not supported.

🤔 maybe new variable set_custom_codoc. It would be better to not try to parse twice and have one user provided parser.

Without changing process-stream, is there some workaround?

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

2 participants