c9 / vfs

A http friendly stream based vfs system for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

implement stream.setEncoding() for remote streams

fjakobs opened this issue · comments

in my code I have

self.$stream.setEncoding("utf8");

Can this be supported? Does it make sense?

this is for connect(). It would best to add this as option to this function.

For connect, we want an encoding option that calls setEncoding when the stream is created. For spawn we want stderrEncoding and stderrEncoding options.

Fixed in 5c72dd6