public void verifyResponseWithExpectString(File expectfile,String actual) {
FileCharsetDetector det = new FileCharsetDetector();
String expectedStr = FileUtil.readFileByLines(expectfile);
try{
String oldcharset = det.guestFileEncoding(expectfile);
if(oldcharset.equalsIgnoreCase("UTF-8") == false)
FileUtil.transferFile(expectfile, oldcharset, "UTF-8");
}catch(Exception ex){
log.error("[change expect file charset error]:"+ex);
}