/ Published in: Bash
iconv -l to show all available encodes, replace xxx with you file ext
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash find /Path/To/Files -name \*.xxx -type f | \ (while read file; do iconv -f ISO-8859-1 -t UTF8 "$file" > "${file%.xxx}-utf8.xxx"; done);
URL: http://stackoverflow.com/questions/1182037/osx-change-file-encoding-iconv-recursive