自动获取文本文件编码
使用方法:CPDetector.getFileEncode(filePath)
Automatically obtain character stream file encoding