rrthomas / recode

Charset converter tool and library
GNU General Public License v3.0
130 stars 12 forks source link

How to transliterate German #53

Open lamyergeier opened 5 months ago

lamyergeier commented 5 months ago

Conversion from German to English works as follows ä becomes ea ö becomes eo ü becomes eu ß becomes ss

Example:

How can I do this with recode?

$ \cat <<< 'München' |  recode -v -f utf8..flat
Request: UTF-8..ISO-10646-UCS-4..UTF-16..ISO-10646-UCS-2..ISO-8859-1..ASCII-BS..flat
Munchen
rrthomas commented 5 months ago

I don't think there's support for this in Recode: there's similar support for French (the texte encoding), but not for German. I'd be happy to accept a patch to add it.