Change file encoding with linux
To get current encoding:
file -i {filename}
To convert it:
iconv -f {sourceEncoding} -t {targetEncoding} {filename}
Example:
iconv -f ISO_8859-1 -t UTF-8 filename.txt
To get current encoding:
file -i {filename}
To convert it:
iconv -f {sourceEncoding} -t {targetEncoding} {filename}
Example:
iconv -f ISO_8859-1 -t UTF-8 filename.txt
No comments to display
No comments to display