You normally can't tell, if there is no metainformation, and simple textfiles normally don't have any.
I once wrote a script, which depends on the reader to know at least a
word of the text, which may help decide what encoding it is.
It depends on sed, grep and iconv - maybe all available on solaris as well.
For example, you make a fast look into the file, and see "Begr??ung", and from the context you reconstruct, it has to be Begrüßung (you will have very differnet examples in you language, I guess) then you start the tool by
Contrary to the usage-message, it needn't be an Umlaut (diphtonge? mutated vowel).