Possible Duplicate:
Java : How to determine the correct charset encoding of a stream
How to identify the encoding of a input file by using JAVA?
Possible Duplicate:
Java : How to determine the correct charset encoding of a stream
How to identify the encoding of a input file by using JAVA?
Detecting correct encoding of a given text is not exact science. All above software are approximations.