$ iconv -f utf-8 -t utf-8 -c foo.sql > utf.sql
$ file -i foo.sql
foo.sql: text/plain; charset=us-ascii
$file -i utf.sql
utf.sql: text/plain; charset=us-ascii
So iconv didnt actually convert the file OR does is the "file" command just ignorant?
On Fri, Sep 30, 2011 at 12:41 PM, Scott Marlowe <scott.marlowe@xxxxxxxxx> wrote:
On Fri, Sep 30, 2011 at 1:39 PM, Cody Caughlan <toolbag@xxxxxxxxx> wrote:Hmmm, if you try this does it work (mostly)?
> Its a Rails app and I do have:
> encoding: utf8
iconv -f utf-8 -t utf-8 -c < infile > outfile