public static List<String> readLines(String path, Charset charset) {
        List<String> strList = new ArrayList<>();
        ClassPathResource classPathResource = new ClassPathResource(path);
        try (
                InputStreamReader in = new InputStreamReader(classPathResource.getInputStream(), charset);
                BufferedReader reader = new BufferedReader(in)) {
            String line;
            while ((line = reader.readLine()) != null) {
                strList.add(line);
            }
        } catch (IOException e) {
            throw new RuntimeException("file read error", e);
        }
        return strList;
    }
@Test
    public void assertReadLines() {
        String testFilePath = "test/test_utf8.txt";
        List<String> readLines = FileUtil.readLines(testFilePath, StandardCharsets.UTF_8);
        Assert.assertEquals(3, readLines.size());
    }