We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var line = cmd.StandardOuput.ReadLine();
line is unreadable : "?????????????"
using(var sr = new StreamReader(cmd.StandardOutput.BaseStream, Encoding.Default)) { var line = sr.ReadLine(); }
line is readable : "some unicode char"
The text was updated successfully, but these errors were encountered:
just a little change to the source code, it will work well
public InternalProcessStreamReader(StreamReader processStreamReader) { this.processStream = processStreamReader.BaseStream; this.pipe = new Pipe(); /* set encoding as the origin StreamReader */ this.reader = new StreamReader(this.pipe.OutputStream, processStreamReader.CurrentEncoding); this.task = Task.Run(() => this.BufferLoop()); }
Sorry, something went wrong.
Will be addressed by #11
Fixed as of 1.3.0 (https://www.nuget.org/packages/MedallionShell/1.3.0)
No branches or pull requests
line is unreadable : "?????????????"
line is readable : "some unicode char"
The text was updated successfully, but these errors were encountered: