java寫入CSV文件後Excel打開亂碼的問題

使用java寫入csv文件,而且文件編碼也設成了「UTF-8」:java File file = new File("a.csv"); OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(file),"UTF-8"); BufferedWriter bw = new BufferedWriter(osw); bw
相關文章
相關標籤/搜索