Find the encoding of file (e.g ASCII or ANSI)

Hello all,Is it possible to find out in which encoding a file is saved.E.g ANSI or ASCII.Thanking all,Kiran
[142 byte] By [HSHASHIKIRANa] at [2007-11-27 2:45:16]
# 1
Google points me back here:* http://forum.java.sun.com/thread.jspa?threadID=419233&messageID=1857096Hope this helps.yc
ycliana at 2007-7-12 3:12:40 > top of Java-index,Java Essentials,Java Programming...
# 2

> Google points me back here:

>

> *

> http://forum.java.sun.com/thread.jspa?threadID=419233& messageID=1857096

Unfortunately, that thread is full of garbage. Here's a nice little tool you can use to detect the most common encodings. Works great for me.

http://glaforge.free.fr/wiki/index.php?wiki=GuessEncoding

uncle_alicea at 2007-7-12 3:12:40 > top of Java-index,Java Essentials,Java Programming...
# 3
Interesting.Cheers,yc
ycliana at 2007-7-12 3:12:40 > top of Java-index,Java Essentials,Java Programming...
# 4
Of course it is impossible to differentiate text written in ANSI which only uses the first 128 characters from one written in ASCII. But maybe that isn't a problem.
jschella at 2007-7-12 3:12:40 > top of Java-index,Java Essentials,Java Programming...