In Unicode, some character combinations have more than one representation.
For example, the character ä can be represented as
- "ä", that is the codepoint U+00E4 (two bytes
c3 a4
in UTF-8 encoding), or as - "ä", that is the two codepoints U+0061 U+0308 (three bytes
61 cc 88
in UTF-8).
According to the Unicode standard, the two representations are equivalent but in different "normalization forms", see UAX #15: Unicode Normalization Forms.
The unix toolbox has all kinds of text transformation tools, sed, tr, iconv, Perl come to mind. How can I do quick and easy NF conversion on the command-line?
perl -MUnicode::Normalization -e 'print NFC(
… er what comes here now…