unormalize [args] [FILES] nfc [args] [files] nfd [args] [files] Converts files or standard input to the given format. Options -i EXTENSION -- Modify files inplace, saving back-ups with EXTENSION -f FORMAT -- normalization form; default is NFC.
Converts UTF-8 input to the desired UTF-8 in Unicode normalization form.
Read about the Unicode Normalization Forms!
There are five executables included, that all have the exact same usage and arguments:
You may either redirect or pipe input into
unormalize (and its buddies), or
provide filenames as arguments.
Convert clipboard contents to NFC (OS X):
$ pbpaste | nfc | pbcopy
Convert a file, in-place, to NFKD:
$ nfkd --in-place=.bak file.txt && rm file.txt.bak
Convert circled, variants, and half-widths to their compatible forms:
$ echo 'ℍ①ｶ' | nfkc H1カ
© 2015 Eddie Antonio Santos. MIT Licensed.