This question already has answers here: How to add a UTF-8 BOM in Java? (8 answers) Closed 4 years ago. I am using this code for add Persian words to a csv file via OpenCSV:
in my main class public static void main(String[] args) { CSVWriter writer = new CSVWriter(new FileWriter(\"D:\\\\myfilefile.csv\"), \'\\t\');
I\'m trying to parse a .csv file with OpenCSV in NetBeans 6.0.1. My file contains some Unicode character. When I write i开发者_运维知识库t in output the character appears in other form, like (HJ1\'-E/