Thursday, September 8, 2005 10:40 AM
What I need to do is to upload a file which could have any encoding type(ASCII, UTF8, ISO8859_1, UTF-16, Unicode etc). I have to parse the file and put each line into a list.
new BufferedReader (new InputStreamReader (in))
mapping for decoding. The
constructor accepts a custom decoding, but I don't known how the file was encoded.
Is there a way to find the encoding type of a file?
Do you have any other proposal for doing that?
10x and have a nice day.