diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-02 23:18:18 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-04 16:52:55 +0200 |
commit | ac722bbed6ea846991904ed205a6dc5ece4748c9 (patch) | |
tree | e241bad9cb5965b1a45eb10f8af76884d2acdd2d /test/fixtures/utf8-bom.json | |
parent | f9cfd709460e04c8417e7784e6e3b264d3ff6c69 (diff) | |
download | android-node-v8-ac722bbed6ea846991904ed205a6dc5ece4748c9.tar.gz android-node-v8-ac722bbed6ea846991904ed205a6dc5ece4748c9.tar.bz2 android-node-v8-ac722bbed6ea846991904ed205a6dc5ece4748c9.zip |
module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440.
Diffstat (limited to 'test/fixtures/utf8-bom.json')
-rw-r--r-- | test/fixtures/utf8-bom.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixtures/utf8-bom.json b/test/fixtures/utf8-bom.json new file mode 100644 index 0000000000..68264e1ab7 --- /dev/null +++ b/test/fixtures/utf8-bom.json @@ -0,0 +1 @@ +42 |