方法一:BufferedReader bufferedReader =new BufferedReader(new UnicodeReader(new FileInputStream(file)));
方法二:BufferedReader bufferedReader =new BufferedReader(new InputStreamReader(new BOMInputStream(new FileInputStream(file))));
以上两种方法均可解决以下字符问题:
java.nio.charset.MalformedInputException: Input length = 1