Permalink
Browse files

fixed a bug in oui builder (caused by node core changes to fs.readFile)

  • Loading branch information...
rsms committed May 9, 2010
1 parent 7e61c36 commit d29444e4a2df0ee7bbca0fcd1e4aca3f84718404
Showing with 1 addition and 1 deletion.
  1. +1 −1 oui/builder/index.js
View
@@ -353,7 +353,7 @@ mixin(Source.prototype, {
readOrigFileCb;
rcb.open();
readOrigFileCb = rcb.handle();
- fs.readFile(this.filename, function(err, content) {
+ fs.readFile(this.filename, 'utf-8', function(err, content) {
if (err) {
readOrigFileCb(err);
return;

0 comments on commit d29444e

Please sign in to comment.