csv⽂件默认编码为ANSI,这⾥出现乱码主要是编码不⼀致问题
DataInputStream in = new DataInputStream(new FileInputStream(new File(\"d:\\\\*.csv\")));
BufferedReader br= new BufferedReader(new InputStreamReader(in,\"GBK\"));//这⾥如果csv⽂件编码格式是utf-8,改成utf-8即可
因篇幅问题不能全部显示,请点此查看更多更全内容