But if you're simply looking for a good command-line utility, you should check out GNU recode. It knows how to translate between any two encodings.