❯ 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.
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?