Portability granted by Java. You can try it by clicking on the title link. Xcstocs GUI frontend to character encoding conversion program cstocs . Instant preview of result helps with correct choice of source or destination encoding. Also can be used as a viewer of texts in foreign encoding.
Automatic detection is supported by calling above mentioned program Detect.
I compiled it successfully on many platforms, hope you will succed too. Unix software is in tar.gz form. All programs are distributed under GNU Public License. Any comments and suggestions are welcome, just send me an e-mail.