Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-5468 improve config.xml encoding handling
Assume files without a BOM are UTF-8 anyway
  • Loading branch information
jsoref authored and bryanhiggins committed Dec 5, 2013
1 parent 7a7d50d commit 1b906511ce4f6148f38db5b67e8774e9f025f421
Showing 1 changed file with 1 addition and 1 deletion.
@@ -140,7 +140,7 @@ _self = {
} else if (data.length >= 3 && data[0] === 0xEF && data[1] === 0xBB && data[2] === 0xBF) {
s = data.toString("utf8", 3);
} else {
s = data.toString("ascii");
s = data.toString("utf8");
}
}

0 comments on commit 1b90651

Please sign in to comment.