tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

\u00EF is not defined #269

Closed alexRambo closed 6 years ago

alexRambo commented 6 years ago

JSCover instrumented code with QUnit fails with error:

ReferenceError: \u00EF is not defined Source: | http://localhost:8080/Scripts/xyzviewmodel.js:490

The instrumented code contains the following 2 lines: _$jscoverage['/Scripts/libs/QUnitTests/jquery.blockUI.js'].lineData[1]++; \u00ef;

Update: I'm running the JSCover-all.jar with flag "-ws".

Any idea how to fix this or get around it?

Thanks, -Alex

alexRambo commented 6 years ago

Feel free to close this defect. Solution**: Run the server with the following flag-> "java -Dfile.encoding=UTF-8 ...".