扫描支持windows-1251编码

This commit is contained in:
zhengchao
2020-01-08 14:55:58 +08:00
parent ead6efa277
commit e054471f7a
3 changed files with 4 additions and 2 deletions

View File

@@ -235,6 +235,7 @@ int universal_charset_convert(struct Maat_scanner* scanner,enum MAAT_CHARSET fro
case CHARSET_BIG5:
case CHARSET_UNICODE:
case CHARSET_UTF8:
case CHARSET_WINDOWS1251:
ret=iconv_convert(scanner,from,to,src,srclen,dst,dstlen);
return ret;
break;