Converting from UTF-8 to GSM-7 is usually lossy. We came up with a strategy to preserve SMS message content when converting UTF-8 to GSM-7 with Transliteration.
Iconv converts between character encodings. Special functionality includes the ability to transliterate characters and omit invalid characters from encodings.
Vim provides several features helpful for working with character encodings; both legacy encodings, such as Latin-1, and modern Unicode encodings, such as UTF-8.
Unfortunately, character encodings are widely misunderstood, and implementations differ widely. A particular program may handle even similar encodings in very different fashions.