Possible Duplicate:
How can I detect the encoding/codepage of a text file
How Can I Best Guess the Encoding when the BOM (Byte Order Mark) is Missing?
I would like to know if there are some delphi libraries for the purpose of detecting the character encoding of a text file.