diff options
author | Ryan <ry@tinyclouds.org> | 2009-05-26 17:46:56 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-05-26 17:48:59 +0200 |
commit | e8f177aa2d5b1e7e45d07df7e218482fb3b35d91 (patch) | |
tree | 66c87a01bc2b4562208754e9aaa3e2e065f4a673 /src/node.js | |
parent | cf0eebf68545d09330e6ba101b82f62beee62543 (diff) | |
download | nodejs-e8f177aa2d5b1e7e45d07df7e218482fb3b35d91.tar.gz nodejs-e8f177aa2d5b1e7e45d07df7e218482fb3b35d91.tar.bz2 nodejs-e8f177aa2d5b1e7e45d07df7e218482fb3b35d91.zip |
Clean up outgoing encoding API. Generally: send(chunk, encoding).
Diffstat (limited to 'src/node.js')
-rw-r--r-- | src/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.js b/src/node.js index 6bdef379b..e3d9d1688 100644 --- a/src/node.js +++ b/src/node.js @@ -134,7 +134,7 @@ clearInterval = clearTimeout; } function loadScript (filename, target, callback) { - node.fs.cat(filename, node.fs.UTF8, function (status, content) { + node.fs.cat(filename, "utf8", function (status, content) { if (status != 0) { stderr.puts("Error reading " + filename + ": " + node.fs.strerror(status)); node.exit(1); |