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

Unable to read non-utf8 data on windows #11

Open
TheButlah opened this issue Nov 20, 2022 · 0 comments
Open

Unable to read non-utf8 data on windows #11

TheButlah opened this issue Nov 20, 2022 · 0 comments

Comments

@TheButlah
Copy link

❯ serial-monitor -e
Connected to COM14
Press Control-X to exit
thread 'main' panicked at 'failed printing to stdout: Windows stdio in console mode does not support writing non-UTF-8 
byte sequences', library\std\src\io\stdio.rs:1009:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I need to read non-utf8 data because I'm getting raw binary data from my serial device (it is printing defmt-encoded bytes) and then want to pipe that output to another program to decode the bytes.

How can I achieve this?

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