75

Possible Duplicate:
How can I convert multiple files to UTF-8 encoding using *nix command line tools?

Okay, now that I can detect the encoding, I know that my encoding is using charset=iso-8859-1 instead of utf. How can I convert this?

Casebash
  • 7,727

1 Answers1

126

Use iconv:

iconv -f iso-8859-1 -t utf-8 < file > file.new
grawity
  • 501,077