Bug #18 - JScoverage can not handle UTF-8 encoded file
Submitted by: Yongmei
Date submitted: 2009-09-28 09:26:42 UTC
Status: Closed
When i used the js coverage tool to do instrument, and there is an error like:
-----------------------------------
parse error in file js/SrApi.js
-----------------------------------
And i found the error is due to the encode of that file. Check the code of that
file, it begins as:
0000000: efbb bf2f 2f0d 0a2f 2f20 2043 6f70 7972 ...//..// Copyr
and "efbb bf" at the start indicates that it is UTF-8 encoding.
Add a comment
Date submitted: 2009-09-28 17:19:37 UTC