最近做html脚本导入库中,读取时总会有乱码的情况。找到一些方法乱码转为正确字符串输出。
参考原文:
https://blog.csdn.net/ajaxhu/article/details/12446917
<!--GetByteEncode--> <dependency> <groupId>com.googlecode.juniversalchardet</groupId> <artifactId>juniversalchardet</artifactId> <version>1.0.3</version> </dependency