I have this line "ĆćĘ꣏źł" in file.csv, which is encoded (as Notepad++ shows) as ANSI. How can I correctly show this line in console like CcEeLzzl.
For removing accents I'm using StringUtils.stripAccents(myLine) from apache but still got "��Ee����"
FileReader fr = null;
try {
String sCurrentLine;
br = new BufferedReader(new FileReader(fileName2));
while ((sCurrentLine = StringUtils.stripAccents(br.readLine())) != null) {
System.out.println(StringUtils.stripAccents(sCurrentLine));
}
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
if (br != null)
br.close();
if (fr != null)
fr.close();
} catch (IOException ex) {
ex.printStackTrace();
}
}```
I want in COnsole this "CcEeLzzl", not that "ĆćĘ꣏źł". Please help me.