I have a csv file encoded in UCS-2 Little Endian which I would like to upload into my MySQL table which is encoded in UTF-8 – default collation. I’m curious as to what the best approach is. If I need to write a script I can do that although I’m hoping there is a simple solution!
Thanks,
AFrieze
recodeutility:recode ucs2..utf8 thefile.csvThen
mysqlimport --default-character-set utf8 ...(usual stuff)