attached is a file that's UTF8 (though I'm not sure if it gets through
like that in an email). It contains virtually no code, but it still
fails with the following error:
uh@uh:~/me/ujh-node$ ./build/default/node utf8-bug.js
at [object Object].[anonymous]
at [object Object].emit
at [object Object].emitSuccess
at [object Object].[anonymous]
utf8-bug.js:16: SyntaxError: Unexpected token }
};
^
When I remove the non-ascii characters from the comment (!) the error
goes away. This happens here on OSX. Can someone confirm that for Linux,
too? It would be good to know if this is an OS specific bug before
trying to fix it.
Urban
PS: I found this bug when I tried to incorporate András cookie support
into Coltrane. Foolishly I tried to give him credit in the comments ;)
András, I hope you won't mind if your name lacks accents until this is
fixed ;)
Interesting. I thought ISO-8859-1 is a subset of UTF8? Anyway, I've
opened issue #15 for this and referred to this thread in the description.
Urban