Transliterate German umlauts on the command line

From braindump
Revision as of 15:04, 22 December 2015 by Uroesch (talk | contribs) (Created page with "{{DISPLAYTITLE: Transliterate German umlauts on the command line}} Task convert a UTF-8 German umlaut into the transliterated version e.g. ö becomes oe. $ echo 'ä ö ü'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Task convert a UTF-8 German umlaut into the transliterated version e.g. ö becomes oe.

$ echo 'ä ö ü' | LANG=de_DE iconv -f UTF-8 -t ASCII//TRANSLIT
ae oe ue

Of course you have to make sure the input is not say Swedish!