Skip to content

Instantly share code, notes, and snippets.

@tintamarre
Forked from JamesChevalier/mac_utf8_insanity.md
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save tintamarre/f034d1cbb8c4fa82930e to your computer and use it in GitHub Desktop.

Select an option

Save tintamarre/f034d1cbb8c4fa82930e to your computer and use it in GitHub Desktop.
Converting btw NFC<--->NFD w/ convmv

convmv manpage

Install convmv if you don't have it.

apt-get install convmv

Convert all files in a directory from NFD to NFC:

convmv -r -f utf8 -t utf8 --nfc --notest .

Convert all files in a directory from NFC to NFD:

convmv -r -f utf8 -t utf8 --nfd --notest .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment