I have a very annoying encoding problem using opencsv. When I export the csv file, I set the character type to "UTF-8".
CSVWriter writer = new CSVWriter(new OutputStreamWriter("D:/test.csv", "UTF-8"));
but when I open the csv file with Microsoft Office Excel 2007, it turns out that it has a UTF-8 BOM encoding ?
As soon as I save the file in Notepad and open it again, the file will return to UTF-8, and all the letters in it will be displayed in order. I think I searched enough, but I did not find a solution to prevent my file from becoming a "UTF-8 Specification." any ideas please?
user1213162
source share