Utility for converting text encodings.