If CSV file is encoded in ANSI, how to find out the encoding by reading the csv file in Java code. I'm working in a Java 1.6 setup.
Thanks in advance.
If CSV file is encoded in ANSI, how to find out the encoding by reading the csv file in Java code. I'm working in a Java 1.6 setup.
Thanks in advance.
The encoding is not specified inside the file, it can often be guessed by trying to read the file as various encodings, but this has obvious problems.
It is a bit like guessing the language that someone is speaking, I can't distinguish between Flemish and Dutch, but I can understand a little of both because I can speak Afrikaans. The only way for me to know what language the person is speaking is to ask them.