Posted By

bionic on 01/22/10


Tagged

mysql csv encoding collation


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

cyril


Linux convert file encoding


 / Published in: Bash
 

To convert files, especially prior to mysql insert. use file filename to find out encoding

  1. iconv --from-code UTF-16 --to-code UTF-8 inputfile >outputfile

Report this snippet  

You need to login to post a comment.