From 0271b785a1926794e1408d67ebff7711f1504b89 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 17 May 2011 10:51:30 -0700 Subject: [PATCH] fork: Use utf8 for channel encoding --- lib/child_process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/child_process.js b/lib/child_process.js index 353bfe5..5f983c9 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -39,7 +39,7 @@ function setupChannel(target, fd) { target._channel.readable = true; target._channel.resume(); - target._channel.setEncoding('ascii'); + target._channel.setEncoding('utf8'); var buffer = ''; target._channel.on('data', function(d) { -- 2.7.4