如何通过导出到CSV文件,通过java代码将特殊字符转换为法语特殊字符?
CsvWriter csvOutput = new CsvWriter(new PrintWriter(new OutputStreamWriter(new FileOutputStream(outputFile),Charset.forName("UTF-16LE"))),',');
//CsvWriter csvOutput = new CsvWriter(new PrintWriter(new OutputStreamWriter(new FileOutputStream(outputFile),Charset.forName("ISO-8859-1"))),',');
//CsvWriter csvOutput = new CsvWriter(new FileWriter(outputFile, true), ',');
我可以使用这三个调用,但是我没有在服务器端的CSV文件中找到输出。