On Oct 3, 2006, at 12:32 AM, Peter Bozek wrote:
I took a copy of one of the files and used BBEdit to store it in
each of the following encodings as shown by the name of the file.
When I read any of these files into BBEdit it instantly reports
the proper encoding for the file.
Are you sure BBEdit does not store the information somewhere?
UTF16 files should start with a integer (FFFE?) that can be checked
to decide what endiannes is file written in, but for other files
you can only guess.
You can use a validator for the Unicode text, and it should tell you
which Unicode type it is (UTF8, UTF16BE, or UTF16LE). I know that
http://elfdata.com has a text validator, but I don't know if it is
available as part of the Elfdata plugin or not.
Identifying other string encodings would pretty much be guesswork,
but you could make some logical assumptions based on patterns and
language.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>