You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: InvalidData, error: StringError("stream did not contain valid UTF-8") }) }', src\libcore\result.rs:859 note: Run with `RUST_BACKTRACE=1` for a backtrace.
A colleague has this issue when win32yank is called by NeoVim.
The text was updated successfully, but these errors were encountered:
It is a bit trickier than that. These are the cases I am aware of
First, the one you mentioned happens because ö uses whichever codepage the console is using. It is possible to decode this by checking the current encoding used by the console
echo ö|win32yank –i
However it this could also fail if the data actually comes from a file. There is nothing we can do in this case for detection - it all depends on the file encoding.
cat test2.txt|win32yank –i
Colleagues have this issue when win32yank is called by NeoVim.
I assume this is possible if the fileencoding is not utf8. Perhaps the easiest way is to force encode as utf8 on the nvim side (assuming this is correct).
On a German Windows this
gives something like
A colleague has this issue when win32yank is called by NeoVim.
The text was updated successfully, but these errors were encountered: