I use apache common fileutils library and I want to export my strings to a csv file. When I write them to csv file it gives charset error for example: if I write "türkiye" , csv file shows it like this:"türkiye", I tried utf-8 but it didn't work can u helpme here is my code:
String cset = "utf-8";
FileUtils.writeStringToFile(new File("C:/---/output.csv"), stringBuilder.toString(),
Charset.forName(cset));
}