projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bc8d0
)
fork: Use utf8 for channel encoding
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 17 May 2011 17:51:30 +0000
(10:51 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 17 May 2011 17:51:30 +0000
(10:51 -0700)
lib/child_process.js
patch
|
blob
|
history
diff --git
a/lib/child_process.js
b/lib/child_process.js
index
353bfe5
..
5f983c9
100644
(file)
--- 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) {