Skip to content

Instantly share code, notes, and snippets.

@Gkiokan
Created July 3, 2017 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gkiokan/b582a038e278df10fdc3449285b656d5 to your computer and use it in GitHub Desktop.
Save Gkiokan/b582a038e278df10fdc3449285b656d5 to your computer and use it in GitHub Desktop.
Convert UTF-8 to real UTF-8
# Some Servers doesnt encode the files in utf-8 correctly even if they look like correct.
# Happens mostly if you upload files from mac to unix.
# this solve all problems.
convmv -f utf-8 -t utf-8 --nfc -r . --notest --replace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment