Browse Source

fork: Use utf8 for channel encoding

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
0271b785a1
  1. 2
      lib/child_process.js

2
lib/child_process.js

@ -39,7 +39,7 @@ function setupChannel(target, fd) {
target._channel.readable = true; target._channel.readable = true;
target._channel.resume(); target._channel.resume();
target._channel.setEncoding('ascii'); target._channel.setEncoding('utf8');
var buffer = ''; var buffer = '';
target._channel.on('data', function(d) { target._channel.on('data', function(d) {

Loading…
Cancel
Save