YX5337934887
2017-12-02 23:18:18
原
java转换文本文件编码
一直很纠结怎么使用java将文件批量转换为指定的编码,研究了一段时间之后现在终于可以将想要的文件都转换为指定的编码了。可以将指定编码的文件转换为另一种编码或将指定目录下的文件都转换为一种编码。如果不指定源文件编码,则自动获取编码再进行转换为指定的编码格式。
运行结果如下:
猜你喜欢
请下载代码后再发表评论
文件名:charset_convertor.zip,文件大小:32.935K
下载
- /
- /TestFile
- /bin
- /bin/org
- /bin/org/charsetconvert
- /bin/org/charsetconvert/CharsetConvertor.class
- /bin/org/charsetconvert/CharsetDetector$1.class
- /bin/org/charsetconvert/CharsetDetector.class
- /bin/org/charsetconvert/Main.class
- /bin/org/charsetconvert
- /bin/org
- /lib
- /lib/jchardet-1.0.jar
- /src
- /src/org
- /TestFile


WHY-small LV15
2022年11月3日
2469095052 LV8
2021年2月2日
xwj123789 LV1
2020年4月1日
fenglin218 LV11
2019年6月21日
二两小面加个蛋 LV10
2019年3月18日
love9971 LV1
2018年12月11日
seedgiid LV2
2018年3月21日
wangdongchun LV8
2018年3月12日
keen1066 LV17
2017年12月13日
复制三次胖狗 LV7
2017年12月6日

whhano LV2
2023年12月20日
1358849392 LV21
2023年6月6日
WHY-small LV15
2022年11月3日
nothing
2021年11月22日
暂无贡献等级
a14628909 LV4
2021年5月14日
2469095052 LV8
2021年2月2日
rainylan_er
2020年4月4日
暂无贡献等级
writerdreamer LV1
2020年4月4日
xwj123789 LV1
2020年4月1日
suhuike
2020年2月19日
暂无贡献等级