Allow writing of incomplete UTF-8 sequences to the Windows console via stdout/stderr
# Problem
Writes of just an incomplete UTF-8 byte sequence (e.g. `b"\xC3"` or `b"\xF0\x9F"`) to stdout/stderr with a Windows console attached error with `io::ErrorKind::InvalidData, "Windows stdio in console mode does not support writing non-UTF-8 byte sequences"` even though further writes could complete the codepoint. This is currently a rare occurence since the [linewritershim](
|
||
|---|---|---|
| .. | ||
| common | ||
| hermit | ||
| sgx | ||
| unix | ||
| unsupported | ||
| wasi | ||
| wasm | ||
| windows | ||
| mod.rs | ||