Need help:About charset,encoding and page display
Posted: 2012-03-28 11:11 am
As to unfamiliar with JSCoverage, need expert suggestions.
After instrumenting source code of page in charset "EUC-JP" with the command like "jscoverage /SOURCE-DIR /DESTINATION-DIR",
Japanese characters in .JS files are not displayed in proper form and unreadable.
However, try to apply the command as the following: "jscoverage --encoding=EUC-JP /SOURCE-DIR /DESTINATION-DIR",
there are compiling errors indicated, like "jscoverage: error decoding EUC-JP in file ...".
Are there any methods to deal with the problem of Japanese character encoding for jscoverage instrument?
Expecting a reply.Thanks.
After instrumenting source code of page in charset "EUC-JP" with the command like "jscoverage /SOURCE-DIR /DESTINATION-DIR",
Japanese characters in .JS files are not displayed in proper form and unreadable.
However, try to apply the command as the following: "jscoverage --encoding=EUC-JP /SOURCE-DIR /DESTINATION-DIR",
there are compiling errors indicated, like "jscoverage: error decoding EUC-JP in file ...".
Are there any methods to deal with the problem of Japanese character encoding for jscoverage instrument?
Expecting a reply.Thanks.