Non-ASCII in server console causes a panic
mpschorr opened this issue · comments
Starting a server with boxes, and the output containing a character outside of ASCII causes Boxes to panic with the following error:
thread 'main' panicked at src\minecraft\server.rs:91:33:
called `Result::unwrap()` on an `Err` value: Error { kind: InvalidData, message: "stream did not contain valid UTF-8" }
Steps to reproduce:
- Create a server with
boxes server generate
orboxes create
- Install a plugin that logs a non-ASCII character (for example, Multiverse-Core prints
§
when warning about a deprecated event.) - Start the server with
boxes start <server>
- Boxes panics due to the non-ASCII character
Fixed in latest release.
Using Stdio::inherit()
instead of Stdio::piped()