I'm glad to hear you were able to get it all fixed. I use code from the ICU library to handle the document encoding detection. So if it's returning the wrong encoding, something is really tripping it up with the characters that were used in the file, as that is a very widely used library.
Mike
Mike