Page 1 of 1

SyntaxError: illegal character

Posted: 2010-04-21 9:44 pm
by rlange
Fixed the problem... You only support ASCI

Re: SyntaxError: illegal character

Posted: 2010-04-21 10:04 pm
by Ed
I'm not sure what the problem was, but have you tried using the --encoding option?

Re: SyntaxError: illegal character

Posted: 2010-04-21 10:08 pm
by rlange
Thanks for the quick reply. That would have probably solved the problem, except our legacy code was in UTF-8 and our recent code was in ASCII. So, I had to choose a side. JSCovereage was the first one to notice the encoding issue :)

Re: SyntaxError: illegal character

Posted: 2010-04-21 10:24 pm
by Ed
ASCII is a subset of UTF-8, so specifying --encoding=UTF-8 should work for both types of files.