Remove Unicode characters from textfiles – sed , other Bash/shell methods

Clear all non-ASCII characters of file.txt:

$ iconv -c -f utf-8 -t ascii file.txt
$ strings file.txt

Options:

-c # discard unconvertible characters
-f # from ENCODING
-t # to ENCODING

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)