Created
July 18, 2016 19:27
-
-
Save habernal/b1c4f916f557a958f58d704338f2b56c to your computer and use it in GitHub Desktop.
Replace characters with diacritics and remove non-ascii characters on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat file.txt | iconv -f utf8 -t ascii//TRANSLIT | perl -p -e 's/[[:^ascii:]]//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment