implement stream.setEncoding() for remote streams
fjakobs opened this issue · comments
Fabian Jakobs commented
in my code I have
self.$stream.setEncoding("utf8");
Can this be supported? Does it make sense?
Fabian Jakobs commented
this is for connect()
. It would best to add this as option to this function.
Tim Caswell commented
For connect, we want an encoding
option that calls setEncoding when the stream is created. For spawn we want stderrEncoding
and stderrEncoding
options.
Tim Caswell commented
Fixed in 5c72dd6